@aws-crypto/raw-aes-keyring-browser
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -1,3 +0,3 @@ | ||
export { RawAesWrappingSuiteIdentifier, WrappingSuiteIdentifier } from '@aws-crypto/raw-keyring'; | ||
export { RawAesWrappingSuiteIdentifier, WrappingSuiteIdentifier, } from '@aws-crypto/raw-keyring'; | ||
export * from './raw_aes_keyring_browser'; | ||
//# sourceMappingURL=index.d.ts.map |
"use strict"; | ||
/* | ||
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use | ||
* this file except in compliance with the License. A copy of the License is | ||
* located at | ||
* | ||
* http://aws.amazon.com/apache2.0/ | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | ||
* implied. See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. | ||
// SPDX-License-Identifier: Apache-2.0 | ||
function __export(m) { | ||
@@ -23,2 +11,2 @@ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
__export(require("./raw_aes_keyring_browser")); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7Ozs7Ozs7Ozs7O0dBYUc7Ozs7O0FBRUgsdURBQWdHO0FBQXZGLHNEQUFBLDZCQUE2QixDQUFBO0FBQ3RDLCtDQUF5QyJ9 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLG9FQUFvRTtBQUNwRSxzQ0FBc0M7Ozs7O0FBRXRDLHVEQUdnQztBQUY5QixzREFBQSw2QkFBNkIsQ0FBQTtBQUcvQiwrQ0FBeUMifQ== |
@@ -1,7 +0,3 @@ | ||
import { KeyringWebCrypto, WebCryptoEncryptionMaterial, // eslint-disable-line no-unused-vars | ||
WebCryptoDecryptionMaterial, // eslint-disable-line no-unused-vars | ||
EncryptedDataKey, WebCryptoAlgorithmSuite, AwsEsdkJsCryptoKey } from '@aws-crypto/material-management-browser'; | ||
import { WrappingSuiteIdentifier, // eslint-disable-line no-unused-vars | ||
WrapKey, // eslint-disable-line no-unused-vars | ||
UnwrapKey } from '@aws-crypto/raw-keyring'; | ||
import { KeyringWebCrypto, WebCryptoEncryptionMaterial, WebCryptoDecryptionMaterial, EncryptedDataKey, WebCryptoAlgorithmSuite, AwsEsdkJsCryptoKey } from '@aws-crypto/material-management-browser'; | ||
import { WrappingSuiteIdentifier, WrapKey, UnwrapKey } from '@aws-crypto/raw-keyring'; | ||
export declare type RawAesKeyringWebCryptoInput = { | ||
@@ -8,0 +4,0 @@ keyNamespace: string; |
"use strict"; | ||
/* | ||
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use | ||
* this file except in compliance with the License. A copy of the License is | ||
* located at | ||
* | ||
* http://aws.amazon.com/apache2.0/ | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | ||
* implied. See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. | ||
// SPDX-License-Identifier: Apache-2.0 | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -26,4 +14,6 @@ const material_management_browser_1 = require("@aws-crypto/material-management-browser"); | ||
const { rawAesEncryptedParts } = raw_keyring_1.rawAesEncryptedPartsFactory(util_utf8_browser_1.fromUtf8); | ||
const encryptFlags = material_management_browser_1.KeyringTraceFlag.WRAPPING_KEY_ENCRYPTED_DATA_KEY | material_management_browser_1.KeyringTraceFlag.WRAPPING_KEY_SIGNED_ENC_CTX; | ||
const decryptFlags = material_management_browser_1.KeyringTraceFlag.WRAPPING_KEY_DECRYPTED_DATA_KEY | material_management_browser_1.KeyringTraceFlag.WRAPPING_KEY_VERIFIED_ENC_CTX; | ||
const encryptFlags = material_management_browser_1.KeyringTraceFlag.WRAPPING_KEY_ENCRYPTED_DATA_KEY | | ||
material_management_browser_1.KeyringTraceFlag.WRAPPING_KEY_SIGNED_ENC_CTX; | ||
const decryptFlags = material_management_browser_1.KeyringTraceFlag.WRAPPING_KEY_DECRYPTED_DATA_KEY | | ||
material_management_browser_1.KeyringTraceFlag.WRAPPING_KEY_VERIFIED_ENC_CTX; | ||
class RawAesKeyringWebCrypto extends material_management_browser_1.KeyringWebCrypto { | ||
@@ -51,3 +41,7 @@ constructor(input) { | ||
*/ | ||
.setCryptoKey(masterKey, { keyNamespace, keyName, flags: material_management_browser_1.KeyringTraceFlag.WRAPPING_KEY_GENERATED_DATA_KEY }); | ||
.setCryptoKey(masterKey, { | ||
keyNamespace, | ||
keyName, | ||
flags: material_management_browser_1.KeyringTraceFlag.WRAPPING_KEY_GENERATED_DATA_KEY, | ||
}); | ||
const _wrapKey = async (material) => { | ||
@@ -86,8 +80,11 @@ /* The AAD section is uInt16BE(length) + AAD | ||
/* Precondition: masterKey must correspond to the algorithm suite specification. | ||
* Note: the KeyringTrace and flag are _only_ set because I am reusing an existing implementation. | ||
* See: raw_aes_material.ts in @aws-crypto/raw-keyring for details | ||
*/ | ||
.setUnencryptedDataKey(masterKey, { keyNamespace: 'importOnly', keyName: 'importOnly', flags: material_management_browser_1.KeyringTraceFlag.WRAPPING_KEY_GENERATED_DATA_KEY }); | ||
return backendForRawAesMasterKey() | ||
.then(backend => material_management_browser_1._importCryptoKey(backend.subtle, material, ['encrypt', 'decrypt'])); | ||
* Note: the KeyringTrace and flag are _only_ set because I am reusing an existing implementation. | ||
* See: raw_aes_material.ts in @aws-crypto/raw-keyring for details | ||
*/ | ||
.setUnencryptedDataKey(masterKey, { | ||
keyNamespace: 'importOnly', | ||
keyName: 'importOnly', | ||
flags: material_management_browser_1.KeyringTraceFlag.WRAPPING_KEY_GENERATED_DATA_KEY, | ||
}); | ||
return backendForRawAesMasterKey().then(async (backend) => material_management_browser_1._importCryptoKey(backend.subtle, material, ['encrypt', 'decrypt'])); | ||
} | ||
@@ -156,2 +153,2 @@ } | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmF3X2Flc19rZXlyaW5nX2Jyb3dzZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvcmF3X2Flc19rZXlyaW5nX2Jyb3dzZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7Ozs7Ozs7Ozs7O0dBYUc7O0FBRUgseUZBZ0JnRDtBQUNoRCxxREFHOEI7QUFDOUIseURBU2dDO0FBQ2hDLGtFQUE2RDtBQUM3RCw2RUFBb0U7QUFDcEUsdUVBQTJGO0FBQzNGLE1BQU0sRUFBRSwwQkFBMEIsRUFBRSxHQUFHLDRCQUFnQixDQUFDLDRCQUFRLENBQUMsQ0FBQTtBQUNqRSxNQUFNLEVBQUUsc0JBQXNCLEVBQUUsR0FBRywyQ0FBNkIsQ0FBQywwQkFBTSxFQUFFLDRCQUFRLENBQUMsQ0FBQTtBQUNsRixNQUFNLEVBQUUsb0JBQW9CLEVBQUUsR0FBRyx5Q0FBMkIsQ0FBQyw0QkFBUSxDQUFDLENBQUE7QUFDdEUsTUFBTSxZQUFZLEdBQUcsOENBQWdCLENBQUMsK0JBQStCLEdBQUcsOENBQWdCLENBQUMsMkJBQTJCL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DIn0= |
@@ -1,3 +0,3 @@ | ||
export { RawAesWrappingSuiteIdentifier, WrappingSuiteIdentifier } from '@aws-crypto/raw-keyring'; | ||
export { RawAesWrappingSuiteIdentifier, WrappingSuiteIdentifier, } from '@aws-crypto/raw-keyring'; | ||
export * from './raw_aes_keyring_browser'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,17 +0,5 @@ | ||
/* | ||
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use | ||
* this file except in compliance with the License. A copy of the License is | ||
* located at | ||
* | ||
* http://aws.amazon.com/apache2.0/ | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | ||
* implied. See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
export { RawAesWrappingSuiteIdentifier } from '@aws-crypto/raw-keyring'; | ||
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. | ||
// SPDX-License-Identifier: Apache-2.0 | ||
export { RawAesWrappingSuiteIdentifier, } from '@aws-crypto/raw-keyring'; | ||
export * from './raw_aes_keyring_browser'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7R0FhRztBQUVILE9BQU8sRUFBRSw2QkFBNkIsRUFBMkIsTUFBTSx5QkFBeUIsQ0FBQTtBQUNoRyxjQUFjLDJCQUEyQixDQUFBIn0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsb0VBQW9FO0FBQ3BFLHNDQUFzQztBQUV0QyxPQUFPLEVBQ0wsNkJBQTZCLEdBRTlCLE1BQU0seUJBQXlCLENBQUE7QUFDaEMsY0FBYywyQkFBMkIsQ0FBQSJ9 |
@@ -1,7 +0,3 @@ | ||
import { KeyringWebCrypto, WebCryptoEncryptionMaterial, // eslint-disable-line no-unused-vars | ||
WebCryptoDecryptionMaterial, // eslint-disable-line no-unused-vars | ||
EncryptedDataKey, WebCryptoAlgorithmSuite, AwsEsdkJsCryptoKey } from '@aws-crypto/material-management-browser'; | ||
import { WrappingSuiteIdentifier, // eslint-disable-line no-unused-vars | ||
WrapKey, // eslint-disable-line no-unused-vars | ||
UnwrapKey } from '@aws-crypto/raw-keyring'; | ||
import { KeyringWebCrypto, WebCryptoEncryptionMaterial, WebCryptoDecryptionMaterial, EncryptedDataKey, WebCryptoAlgorithmSuite, AwsEsdkJsCryptoKey } from '@aws-crypto/material-management-browser'; | ||
import { WrappingSuiteIdentifier, WrapKey, UnwrapKey } from '@aws-crypto/raw-keyring'; | ||
export declare type RawAesKeyringWebCryptoInput = { | ||
@@ -8,0 +4,0 @@ keyNamespace: string; |
@@ -1,28 +0,16 @@ | ||
/* | ||
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use | ||
* this file except in compliance with the License. A copy of the License is | ||
* located at | ||
* | ||
* http://aws.amazon.com/apache2.0/ | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | ||
* implied. See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
import { KeyringWebCrypto, needs, // eslint-disable-line no-unused-vars | ||
KeyringTraceFlag, immutableClass, readOnlyProperty, // eslint-disable-line no-unused-vars | ||
getSubtleFunction, _importCryptoKey, unwrapDataKey, importForWebCryptoEncryptionMaterial, importForWebCryptoDecryptionMaterial } from '@aws-crypto/material-management-browser'; | ||
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. | ||
// SPDX-License-Identifier: Apache-2.0 | ||
import { KeyringWebCrypto, needs, KeyringTraceFlag, immutableClass, readOnlyProperty, getSubtleFunction, _importCryptoKey, unwrapDataKey, importForWebCryptoEncryptionMaterial, importForWebCryptoDecryptionMaterial, } from '@aws-crypto/material-management-browser'; | ||
import { serializeFactory, concatBuffers } from '@aws-crypto/serialize'; | ||
import { _onEncrypt, _onDecrypt, WebCryptoRawAesMaterial, rawAesEncryptedDataKeyFactory, rawAesEncryptedPartsFactory } from '@aws-crypto/raw-keyring'; | ||
import { _onEncrypt, _onDecrypt, WebCryptoRawAesMaterial, rawAesEncryptedDataKeyFactory, rawAesEncryptedPartsFactory, } from '@aws-crypto/raw-keyring'; | ||
import { fromUtf8, toUtf8 } from '@aws-sdk/util-utf8-browser'; | ||
import { randomValuesOnly } from '@aws-crypto/random-source-browser'; | ||
import { getWebCryptoBackend, getNonZeroByteBackend } from '@aws-crypto/web-crypto-backend'; | ||
import { getWebCryptoBackend, getNonZeroByteBackend, } from '@aws-crypto/web-crypto-backend'; | ||
const { serializeEncryptionContext } = serializeFactory(fromUtf8); | ||
const { rawAesEncryptedDataKey } = rawAesEncryptedDataKeyFactory(toUtf8, fromUtf8); | ||
const { rawAesEncryptedParts } = rawAesEncryptedPartsFactory(fromUtf8); | ||
const encryptFlags = KeyringTraceFlag.WRAPPING_KEY_ENCRYPTED_DATA_KEY | KeyringTraceFlag.WRAPPING_KEY_SIGNED_ENC_CTX; | ||
const decryptFlags = KeyringTraceFlag.WRAPPING_KEY_DECRYPTED_DATA_KEY | KeyringTraceFlag.WRAPPING_KEY_VERIFIED_ENC_CTX; | ||
const encryptFlags = KeyringTraceFlag.WRAPPING_KEY_ENCRYPTED_DATA_KEY | | ||
KeyringTraceFlag.WRAPPING_KEY_SIGNED_ENC_CTX; | ||
const decryptFlags = KeyringTraceFlag.WRAPPING_KEY_DECRYPTED_DATA_KEY | | ||
KeyringTraceFlag.WRAPPING_KEY_VERIFIED_ENC_CTX; | ||
export class RawAesKeyringWebCrypto extends KeyringWebCrypto { | ||
@@ -50,3 +38,7 @@ constructor(input) { | ||
*/ | ||
.setCryptoKey(masterKey, { keyNamespace, keyName, flags: KeyringTraceFlag.WRAPPING_KEY_GENERATED_DATA_KEY }); | ||
.setCryptoKey(masterKey, { | ||
keyNamespace, | ||
keyName, | ||
flags: KeyringTraceFlag.WRAPPING_KEY_GENERATED_DATA_KEY, | ||
}); | ||
const _wrapKey = async (material) => { | ||
@@ -85,8 +77,11 @@ /* The AAD section is uInt16BE(length) + AAD | ||
/* Precondition: masterKey must correspond to the algorithm suite specification. | ||
* Note: the KeyringTrace and flag are _only_ set because I am reusing an existing implementation. | ||
* See: raw_aes_material.ts in @aws-crypto/raw-keyring for details | ||
*/ | ||
.setUnencryptedDataKey(masterKey, { keyNamespace: 'importOnly', keyName: 'importOnly', flags: KeyringTraceFlag.WRAPPING_KEY_GENERATED_DATA_KEY }); | ||
return backendForRawAesMasterKey() | ||
.then(backend => _importCryptoKey(backend.subtle, material, ['encrypt', 'decrypt'])); | ||
* Note: the KeyringTrace and flag are _only_ set because I am reusing an existing implementation. | ||
* See: raw_aes_material.ts in @aws-crypto/raw-keyring for details | ||
*/ | ||
.setUnencryptedDataKey(masterKey, { | ||
keyNamespace: 'importOnly', | ||
keyName: 'importOnly', | ||
flags: KeyringTraceFlag.WRAPPING_KEY_GENERATED_DATA_KEY, | ||
}); | ||
return backendForRawAesMasterKey().then(async (backend) => _importCryptoKey(backend.subtle, material, ['encrypt', 'decrypt'])); | ||
} | ||
@@ -154,2 +149,2 @@ } | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmF3X2Flc19rZXlyaW5nX2Jyb3dzZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291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UFZLEVBQUUsT0FBTyxFQUFFLEtBQUssRUFBRSxZQUFZLEVBQUUsQ0FBQTtJQUM1RCxRQUFRLENBQUMscUJBQXFCLENBQUMsSUFBSSxVQUFVLENBQUMsTUFBTSxDQUFDLEVBQUUsS0FBSyxDQUFDLENBQUE7SUFDN0QsT0FBTyxvQ0FBb0MsQ0FBQyxRQUFRLENBQUMsQ0FBQTtBQUN2RCxDQUFDO0FBRUQ7Ozs7Ozs7O0dBUUc7QUFDSCxLQUFLLFVBQVUseUJBQXlCO0lBQ3RDLE1BQU0sT0FBTyxHQUFHLE1BQU0sbUJBQW1CLEVBQUUsQ0FBQTtJQUMzQyxNQUFNLEVBQUUsWUFBWSxFQUFFLEdBQUcsT0FBTyxDQUFBO0lBQ2hDLE1BQU0sTUFBTSxHQUFHLHFCQUFxQixDQUFDLE9BQU8sQ0FBQyxDQUFBO0lBRTdDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxFQUFFLENBQUE7QUFDakMsQ0FBQyJ9 |
@@ -6,2 +6,10 @@ # Change Log | ||
## [1.2.1](https://github.com/aws/aws-encryption-sdk-javascript/compare/@aws-crypto/raw-aes-keyring-browser@1.2.0...@aws-crypto/raw-aes-keyring-browser@1.2.1) (2020-05-26) | ||
**Note:** Version bump only for package @aws-crypto/raw-aes-keyring-browser | ||
# [1.2.0](https://github.com/aws/aws-encryption-sdk-javascript/compare/@aws-crypto/raw-aes-keyring-browser@1.1.0...@aws-crypto/raw-aes-keyring-browser@1.2.0) (2020-04-02) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "@aws-crypto/raw-aes-keyring-browser", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"scripts": { | ||
"prepublishOnly": "npm run build", | ||
"build": "tsc -b tsconfig.json && tsc -b tsconfig.module.json", | ||
"lint": "standard src/*.ts test/**/*.ts", | ||
"lint": "run-s lint-*", | ||
"lint-eslint": "eslint src/*.ts test/**/*.ts", | ||
"lint-prettier": "prettier -c src/*.ts test/**/*.ts", | ||
"karma": "karma start karma.conf.js", | ||
@@ -19,8 +21,8 @@ "test": "npm run lint && npm run coverage", | ||
"dependencies": { | ||
"@aws-crypto/material-management-browser": "^1.2.0", | ||
"@aws-crypto/material-management-browser": "^1.2.1", | ||
"@aws-crypto/random-source-browser": "^1.0.0-alpha.0", | ||
"@aws-crypto/raw-keyring": "^1.0.3", | ||
"@aws-crypto/serialize": "^1.0.3", | ||
"@aws-crypto/web-crypto-backend": "^1.1.1", | ||
"@aws-sdk/util-utf8-browser": "1.0.0-alpha.3", | ||
"@aws-crypto/raw-keyring": "^1.0.4", | ||
"@aws-crypto/serialize": "^1.0.4", | ||
"@aws-crypto/web-crypto-backend": "^1.1.2", | ||
"@aws-sdk/util-utf8-browser": "1.0.0-beta.2", | ||
"tslib": "^1.11.1" | ||
@@ -35,9 +37,3 @@ }, | ||
], | ||
"standard": { | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": [ | ||
"@typescript-eslint" | ||
] | ||
}, | ||
"gitHead": "6fdb7e50f91cff05999eeaf79fbd6ad1720024a2" | ||
"gitHead": "4b60e0607e83d1ea2da98fd593e681f98f0d0082" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
368685
353
+ Added@aws-sdk/util-utf8-browser@1.0.0-beta.2(transitive)
- Removed@aws-sdk/util-utf8-browser@1.0.0-alpha.3(transitive)
Updated@aws-crypto/serialize@^1.0.4