Skip to content

Commit 5e8ecdc

Browse files
committed
s/should/must
It MUST
1 parent e8b8efd commit 5e8ecdc

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

modules/material-management-browser/src/browser_cryptographic_materials_manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class WebCryptoDefaultCryptographicMaterialsManager implements WebCryptoM
4949
async getEncryptionMaterials ({ suite, encryptionContext }: WebCryptoEncryptionRequest): Promise<WebCryptoEncryptionMaterial> {
5050
suite = suite || new WebCryptoAlgorithmSuite(AlgorithmSuiteIdentifier.ALG_AES256_GCM_IV12_TAG16_HKDF_SHA384_ECDSA_P384)
5151

52-
/* Precondition: WebCryptoDefaultCryptographicMaterialsManager should reserve the ENCODED_SIGNER_KEY constant from @aws-crypto/serialize.
52+
/* Precondition: WebCryptoDefaultCryptographicMaterialsManager must reserve the ENCODED_SIGNER_KEY constant from @aws-crypto/serialize.
5353
* A CryptographicMaterialsManager can change entries to the encryptionContext
5454
* but changing these values has consequences.
5555
* The DefaultCryptographicMaterialsManager uses the value in the encryption context to store public signing key.

modules/material-management-browser/test/browser_cryptographic_materials_manager.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ describe('WebCryptoDefaultCryptographicMaterialsManager', () => {
240240
expect(material.encryptionContext).to.have.haveOwnProperty('some').and.to.equal('context')
241241
})
242242

243-
it('Precondition: WebCryptoDefaultCryptographicMaterialsManager should reserve the ENCODED_SIGNER_KEY constant from @aws-crypto/serialize.', async () => {
243+
it('Precondition: WebCryptoDefaultCryptographicMaterialsManager must reserve the ENCODED_SIGNER_KEY constant from @aws-crypto/serialize.', async () => {
244244
class TestKeyring extends KeyringWebCrypto {
245245
async _onEncrypt (): Promise<WebCryptoEncryptionMaterial> {
246246
throw new Error('I should never see this error')

modules/material-management-node/src/node_cryptographic_materials_manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class NodeDefaultCryptographicMaterialsManager implements NodeMaterialsMa
4949
async getEncryptionMaterials ({ suite, encryptionContext }: NodeEncryptionRequest): Promise<NodeEncryptionMaterial> {
5050
suite = suite || new NodeAlgorithmSuite(AlgorithmSuiteIdentifier.ALG_AES256_GCM_IV12_TAG16_HKDF_SHA384_ECDSA_P384)
5151

52-
/* Precondition: NodeDefaultCryptographicMaterialsManager should reserve the ENCODED_SIGNER_KEY constant from @aws-crypto/serialize.
52+
/* Precondition: NodeDefaultCryptographicMaterialsManager must reserve the ENCODED_SIGNER_KEY constant from @aws-crypto/serialize.
5353
* A CryptographicMaterialsManager can change entries to the encryptionContext
5454
* but changing these values has consequences.
5555
* The DefaultCryptographicMaterialsManager uses the value in the encryption context to store public signing key.

modules/material-management-node/test/node_cryptographic_materials_manager.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ describe('NodeDefaultCryptographicMaterialsManager', () => {
183183
)).to.throw()
184184
})
185185

186-
it('Precondition: NodeDefaultCryptographicMaterialsManager should reserve the ENCODED_SIGNER_KEY constant from @aws-crypto/serialize.', async () => {
186+
it('Precondition: NodeDefaultCryptographicMaterialsManager must reserve the ENCODED_SIGNER_KEY constant from @aws-crypto/serialize.', async () => {
187187
class TestKeyring extends KeyringNode {
188188
async _onEncrypt (): Promise<NodeEncryptionMaterial> {
189189
throw new Error('this should never happen')

0 commit comments

Comments
 (0)