@aws-crypto/raw-aes-keyring-browser
Advanced tools
Comparing version 3.0.2 to 3.1.0
@@ -12,5 +12,5 @@ "use strict"; | ||
const web_crypto_backend_1 = require("@aws-crypto/web-crypto-backend"); | ||
const { serializeEncryptionContext } = serialize_1.serializeFactory(util_utf8_browser_1.fromUtf8); | ||
const { rawAesEncryptedDataKey } = raw_keyring_1.rawAesEncryptedDataKeyFactory(util_utf8_browser_1.toUtf8, util_utf8_browser_1.fromUtf8); | ||
const { rawAesEncryptedParts } = raw_keyring_1.rawAesEncryptedPartsFactory(util_utf8_browser_1.fromUtf8); | ||
const { serializeEncryptionContext } = (0, serialize_1.serializeFactory)(util_utf8_browser_1.fromUtf8); | ||
const { rawAesEncryptedDataKey } = (0, raw_keyring_1.rawAesEncryptedDataKeyFactory)(util_utf8_browser_1.toUtf8, util_utf8_browser_1.fromUtf8); | ||
const { rawAesEncryptedParts } = (0, raw_keyring_1.rawAesEncryptedPartsFactory)(util_utf8_browser_1.fromUtf8); | ||
const encryptFlags = material_management_browser_1.KeyringTraceFlag.WRAPPING_KEY_ENCRYPTED_DATA_KEY | | ||
@@ -25,3 +25,3 @@ material_management_browser_1.KeyringTraceFlag.WRAPPING_KEY_SIGNED_ENC_CTX; | ||
/* Precondition: AesKeyringWebCrypto needs identifying information for encrypt and decrypt. */ | ||
material_management_browser_1.needs(keyName && keyNamespace, 'Identifying information must be defined.'); | ||
(0, material_management_browser_1.needs)(keyName && keyNamespace, 'Identifying information must be defined.'); | ||
/* Precondition: RawAesKeyringWebCrypto requires a wrappingSuite to be a valid RawAesWrappingSuite. */ | ||
@@ -58,6 +58,6 @@ const wrappingMaterial = new raw_keyring_1.WebCryptoRawAesMaterial(wrappingSuite) | ||
}; | ||
material_management_browser_1.readOnlyProperty(this, 'keyName', keyName); | ||
material_management_browser_1.readOnlyProperty(this, 'keyNamespace', keyNamespace); | ||
material_management_browser_1.readOnlyProperty(this, '_wrapKey', _wrapKey); | ||
material_management_browser_1.readOnlyProperty(this, '_unwrapKey', _unwrapKey); | ||
(0, material_management_browser_1.readOnlyProperty)(this, 'keyName', keyName); | ||
(0, material_management_browser_1.readOnlyProperty)(this, 'keyNamespace', keyNamespace); | ||
(0, material_management_browser_1.readOnlyProperty)(this, '_wrapKey', _wrapKey); | ||
(0, material_management_browser_1.readOnlyProperty)(this, '_unwrapKey', _unwrapKey); | ||
} | ||
@@ -68,6 +68,6 @@ _filter({ providerId, providerInfo }) { | ||
} | ||
_rawOnEncrypt = raw_keyring_1._onEncrypt(random_source_browser_1.randomValuesOnly); | ||
_rawOnEncrypt = (0, raw_keyring_1._onEncrypt)(random_source_browser_1.randomValuesOnly); | ||
_onEncrypt = async (material) => { | ||
const _material = await this._rawOnEncrypt(material); | ||
return material_management_browser_1.importForWebCryptoEncryptionMaterial(_material); | ||
return (0, material_management_browser_1.importForWebCryptoEncryptionMaterial)(_material); | ||
}; | ||
@@ -78,5 +78,5 @@ /* onDecrypt does not need to import the crypto key, because this is handled in the unwrap operation | ||
*/ | ||
_onDecrypt = raw_keyring_1._onDecrypt(); | ||
_onDecrypt = (0, raw_keyring_1._onDecrypt)(); | ||
static async importCryptoKey(masterKey, wrappingSuite) { | ||
material_management_browser_1.needs(masterKey instanceof Uint8Array, 'Unsupported master key type.'); | ||
(0, material_management_browser_1.needs)(masterKey instanceof Uint8Array, 'Unsupported master key type.'); | ||
const material = new raw_keyring_1.WebCryptoRawAesMaterial(wrappingSuite) | ||
@@ -92,7 +92,7 @@ /* Precondition: masterKey must correspond to the algorithm suite specification. | ||
}); | ||
return backendForRawAesMasterKey().then(async (backend) => material_management_browser_1._importCryptoKey(backend.subtle, material, ['encrypt', 'decrypt'])); | ||
return backendForRawAesMasterKey().then(async (backend) => (0, material_management_browser_1._importCryptoKey)(backend.subtle, material, ['encrypt', 'decrypt'])); | ||
} | ||
} | ||
exports.RawAesKeyringWebCrypto = RawAesKeyringWebCrypto; | ||
material_management_browser_1.immutableClass(RawAesKeyringWebCrypto); | ||
(0, material_management_browser_1.immutableClass)(RawAesKeyringWebCrypto); | ||
/** | ||
@@ -111,6 +111,6 @@ * Uses aes-gcm to encrypt the data key and return the passed WebCryptoEncryptionMaterial with | ||
const iv = await backend.randomValues(material.suite.ivLength); | ||
const getSubtleInfo = material_management_browser_1.currySubtleFunction(wrappingMaterial, backend, 'encrypt'); | ||
const getSubtleInfo = (0, material_management_browser_1.currySubtleFunction)(wrappingMaterial, backend, 'encrypt'); | ||
const info = new Uint8Array(); | ||
const { getSubtleEncrypt } = await getSubtleInfo(info); | ||
const dataKey = material_management_browser_1.unwrapDataKey(material.getUnencryptedDataKey()); | ||
const dataKey = (0, material_management_browser_1.unwrapDataKey)(material.getUnencryptedDataKey()); | ||
const buffer = await getSubtleEncrypt(iv, aad)(dataKey); | ||
@@ -137,9 +137,9 @@ const ciphertext = new Uint8Array(buffer, 0, buffer.byteLength - material.suite.tagLength / 8); | ||
const backend = await backendForRawAesMasterKey(); | ||
const getSubtleInfo = material_management_browser_1.currySubtleFunction(wrappingMaterial, backend, 'decrypt'); | ||
const getSubtleInfo = (0, material_management_browser_1.currySubtleFunction)(wrappingMaterial, backend, 'decrypt'); | ||
const info = new Uint8Array(); | ||
const getSubtleDecrypt = await getSubtleInfo(info); | ||
const buffer = await getSubtleDecrypt(iv, aad)(serialize_1.concatBuffers(ciphertext, authTag)); | ||
const buffer = await getSubtleDecrypt(iv, aad)((0, serialize_1.concatBuffers)(ciphertext, authTag)); | ||
const trace = { keyNamespace, keyName, flags: decryptFlags }; | ||
material.setUnencryptedDataKey(new Uint8Array(buffer), trace); | ||
return material_management_browser_1.importForWebCryptoDecryptionMaterial(material); | ||
return (0, material_management_browser_1.importForWebCryptoDecryptionMaterial)(material); | ||
} | ||
@@ -156,7 +156,7 @@ /** | ||
async function backendForRawAesMasterKey() { | ||
const backend = await web_crypto_backend_1.getWebCryptoBackend(); | ||
const backend = await (0, web_crypto_backend_1.getWebCryptoBackend)(); | ||
const { randomValues } = backend; | ||
const subtle = web_crypto_backend_1.getNonZeroByteBackend(backend); | ||
const subtle = (0, web_crypto_backend_1.getNonZeroByteBackend)(backend); | ||
return { randomValues, subtle }; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmF3X2Flc19rZXlyaW5nX2Jyb3dzZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvcmF3X2Flc19rZXlyaW5nX2Jyb3dzZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLG9FQUFvRTtBQUNwRSxzQ0FBc0M7OztBQUV0Qyx5RkFnQmdEO0FBQ2hELHFEQUF1RTtBQUN2RSx5REFTZ0M7QUFDaEMsa0VBQTZEO0FBQzdELDZFQUFvRTtBQUNwRSx1RUFHdUM7QUFDdkMsTUFBTSxFQUFFLDBCQUEwQixFQUFFLEdBQUcsNEJBQWdCLENBQUMsNEJBQVEsQ0FBQyxDQUFBO0FBQ2pFLE1BQU0sRUFBRSxzQkFBc0IsRUFBRSxHQUFHLDJDQUE2QixDQUM5RCwwQkFBTSxFQUNOLDRCQUFRLENBQ1QsQ0FBQTtBQUNELE1BQU0sRUFBRSxvQkFBb0IsRUFBRSxHQUFHLHlDQUEyQixDQUFDLDRCQUFRLENBQUMsQ0FBQTtBQUN0RSxNQUFNLFlBQVksR0FDaEIsOENBQWdCLENBQUMsK0JBQStCO0lBQ2hELDhDQUFnQixDQUFDLDJCQUEyQixDQUFBO0FBQzlDLE1BQU0sWUFBWSxHQUNoQiw4Q0FBZ0IsQ0FBQywrQkFBK0I7SUFDaEQsOENBQWdCLENBQUMsNkJBQTZCLENBQUE7QUFTaEQsTUFBYSxzQkFBdUIsU0FBUSw4Q0FBZ0I7SUFNMUQsWUFBWSxLQUFrQztRQUM1QyxLQUFLLEVBQUUsQ0FBQTtRQUNQLE1BQU0sRUFBRSxPQUFPLEVBQUUsWUFBWSxFQUFFLFNBQVMsRUFBRSxhQUFhLEVBQUU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Q0FBQTtJQUNoQyxNQUFNLE1BQU0sR0FBRyxJQUFBLDBDQUFxQixFQUFDLE9BQU8sQ0FBQyxDQUFBO0lBRTdDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxFQUFFLENBQUE7QUFDakMsQ0FBQyJ9 |
{ | ||
"name": "@aws-crypto/raw-aes-keyring-browser", | ||
"version": "3.0.2", | ||
"version": "3.1.0", | ||
"scripts": { | ||
@@ -21,7 +21,7 @@ "prepublishOnly": "npm run build", | ||
"dependencies": { | ||
"@aws-crypto/material-management-browser": "^3.0.2", | ||
"@aws-crypto/material-management-browser": "^3.1.0", | ||
"@aws-crypto/random-source-browser": "1.0.0", | ||
"@aws-crypto/raw-keyring": "^3.0.0", | ||
"@aws-crypto/serialize": "^3.0.0", | ||
"@aws-crypto/web-crypto-backend": "^3.0.2", | ||
"@aws-crypto/raw-keyring": "^3.1.0", | ||
"@aws-crypto/serialize": "^3.1.0", | ||
"@aws-crypto/web-crypto-backend": "^3.1.0", | ||
"@aws-sdk/util-utf8-browser": "3.23.0", | ||
@@ -37,3 +37,3 @@ "tslib": "^2.2.0" | ||
], | ||
"gitHead": "80db4edcce0853a303e0200551bf658cac18f9c6" | ||
"gitHead": "1bc8957ce9378767d3fca65ae5310c130384e075" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53088