Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-crypto/cache-material

Package Overview
Dependencies
Maintainers
9
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-crypto/cache-material - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

8

build/main/src/build_cryptographic_materials_cache_key_helpers.js

@@ -11,3 +11,3 @@ "use strict";

function buildCryptographicMaterialsCacheKeyHelpers(fromUtf8, toUtf8, sha512) {
const { serializeEncryptionContext, serializeEncryptedDataKey } = serialize_1.serializeFactory(fromUtf8);
const { serializeEncryptionContext, serializeEncryptedDataKey } = (0, serialize_1.serializeFactory)(fromUtf8);
return {

@@ -21,3 +21,3 @@ buildEncryptionMaterialCacheKey,

const algorithmInfo = suite
? [new Uint8Array([1]), serialize_1.uInt16BE(suite.id)]
? [new Uint8Array([1]), (0, serialize_1.uInt16BE)(suite.id)]
: [new Uint8Array([0])];

@@ -29,3 +29,3 @@ const key = await sha512(await sha512(fromUtf8(partition)), ...algorithmInfo, await encryptionContextHash(encryptionContext));

const { id } = suite;
const key = await sha512(await sha512(fromUtf8(partition)), serialize_1.uInt16BE(id), ...(await encryptedDataKeysHash(encryptedDataKeys)), BIT_PAD_512, await encryptionContextHash(encryptionContext));
const key = await sha512(await sha512(fromUtf8(partition)), (0, serialize_1.uInt16BE)(id), ...(await encryptedDataKeysHash(encryptedDataKeys)), BIT_PAD_512, await encryptionContextHash(encryptionContext));
return toUtf8(key);

@@ -50,2 +50,2 @@ }

exports.buildCryptographicMaterialsCacheKeyHelpers = buildCryptographicMaterialsCacheKeyHelpers;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVpbGRfY3J5cHRvZ3JhcGhpY19tYXRlcmlhbHNfY2FjaGVfa2V5X2hlbHBlcnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcm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LEdBQUcsQ0FBQyx5QkFBeUIsQ0FBQzthQUM5QixHQUFHLENBQUMsS0FBSyxFQUFFLEdBQUcsRUFBRSxFQUFFLENBQUMsTUFBTSxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQ25DLENBQUE7UUFDRCxPQUFPLE1BQU0sQ0FBQyxJQUFJLENBQUMsMEJBQU8sQ0FBQyxDQUFBO0lBQzdCLENBQUM7SUFFRCxLQUFLLFVBQVUscUJBQXFCLENBQUMsT0FBMEI7UUFDN0Q7Ozs7V0FJRztRQUNILE1BQU0saUJBQWlCLEdBQUcsMEJBQTBCLENBQUMsT0FBTyxDQUFDLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxDQUFBO1FBQ3RFLE9BQU8sTUFBTSxDQUFDLGlCQUFpQixDQUFDLENBQUE7SUFDbEMsQ0FBQztBQUNILENBQUM7QUFyRUQsZ0dBcUVDIn0=

@@ -11,23 +11,23 @@ "use strict";

/* Precondition: A caching material manager needs a cache. */
material_management_1.needs(cache, 'You must provide a cache.');
(0, material_management_1.needs)(cache, 'You must provide a cache.');
/* Precondition: A caching material manager needs a way to get material. */
material_management_1.needs(backingMaterialsManager, 'You must provide a backing material source.');
(0, material_management_1.needs)(backingMaterialsManager, 'You must provide a backing material source.');
/* Precondition: You *can not* cache something forever. */
material_management_1.needs(maxAge > 0, 'You must configure a maxAge');
(0, material_management_1.needs)(maxAge > 0, 'You must configure a maxAge');
/* Precondition: maxBytesEncrypted must be inside bounds. i.e. positive and not more than the maximum. */
material_management_1.needs(!maxBytesEncrypted ||
(0, material_management_1.needs)(!maxBytesEncrypted ||
(maxBytesEncrypted > 0 &&
serialize_1.Maximum.BYTES_PER_CACHED_KEY_LIMIT >= maxBytesEncrypted), 'maxBytesEncrypted is outside of bounds.');
/* Precondition: maxMessagesEncrypted must be inside bounds. i.e. positive and not more than the maximum. */
material_management_1.needs(!maxMessagesEncrypted ||
(0, material_management_1.needs)(!maxMessagesEncrypted ||
(maxMessagesEncrypted > 0 &&
serialize_1.Maximum.MESSAGES_PER_CACHED_KEY_LIMIT >= maxMessagesEncrypted), 'maxMessagesEncrypted is outside of bounds.');
/* Precondition: partition must be a string. */
material_management_1.needs(partition && typeof partition === 'string', 'partition must be a string.');
material_management_1.readOnlyProperty(obj, '_cache', cache);
material_management_1.readOnlyProperty(obj, '_backingMaterialsManager', backingMaterialsManager);
material_management_1.readOnlyProperty(obj, '_maxAge', maxAge);
material_management_1.readOnlyProperty(obj, '_maxBytesEncrypted', maxBytesEncrypted || serialize_1.Maximum.BYTES_PER_CACHED_KEY_LIMIT);
material_management_1.readOnlyProperty(obj, '_maxMessagesEncrypted', maxMessagesEncrypted || serialize_1.Maximum.MESSAGES_PER_CACHED_KEY_LIMIT);
material_management_1.readOnlyProperty(obj, '_partition', partition);
(0, material_management_1.needs)(partition && typeof partition === 'string', 'partition must be a string.');
(0, material_management_1.readOnlyProperty)(obj, '_cache', cache);
(0, material_management_1.readOnlyProperty)(obj, '_backingMaterialsManager', backingMaterialsManager);
(0, material_management_1.readOnlyProperty)(obj, '_maxAge', maxAge);
(0, material_management_1.readOnlyProperty)(obj, '_maxBytesEncrypted', maxBytesEncrypted || serialize_1.Maximum.BYTES_PER_CACHED_KEY_LIMIT);
(0, material_management_1.readOnlyProperty)(obj, '_maxMessagesEncrypted', maxMessagesEncrypted || serialize_1.Maximum.MESSAGES_PER_CACHED_KEY_LIMIT);
(0, material_management_1.readOnlyProperty)(obj, '_partition', partition);
}

@@ -132,4 +132,4 @@ exports.decorateProperties = decorateProperties;

function cloneResponse(material) {
return material_management_1.cloneMaterial(material);
return (0, material_management_1.cloneMaterial)(material);
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FjaGluZ19jcnlwdG9ncmFwaGljX21hdGVyaWFsc19kZWNvcmF0b3JzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2NhY2hpbmdfY3J5cHRv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>= 0, 'Malformed plaintextLength');
(0, material_management_1.needs)(plaintextLength >= 0, 'Malformed plaintextLength');
/* Precondition: Only cache EncryptionMaterial. */
material_management_1.needs(material_management_1.isEncryptionMaterial(material), 'Malformed response.');
(0, material_management_1.needs)((0, material_management_1.isEncryptionMaterial)(material), 'Malformed response.');
/* Precondition: Only cache EncryptionMaterial that is cacheSafe. */
material_management_1.needs(material.suite.cacheSafe, 'Can not cache non-cache safe material');
(0, material_management_1.needs)(material.suite.cacheSafe, 'Can not cache non-cache safe material');
const entry = Object.seal({

@@ -52,5 +52,5 @@ response: material,

/* Precondition: Only cache DecryptionMaterial. */
material_management_1.needs(material_management_1.isDecryptionMaterial(material), 'Malformed response.');
(0, material_management_1.needs)((0, material_management_1.isDecryptionMaterial)(material), 'Malformed response.');
/* Precondition: Only cache DecryptionMaterial that is cacheSafe. */
material_management_1.needs(material.suite.cacheSafe, 'Can not cache non-cache safe material');
(0, material_management_1.needs)(material.suite.cacheSafe, 'Can not cache non-cache safe material');
const entry = Object.seal({

@@ -66,3 +66,3 @@ response: material,

/* Precondition: plaintextLength can not be negative. */
material_management_1.needs(plaintextLength >= 0, 'Malformed plaintextLength');
(0, material_management_1.needs)(plaintextLength >= 0, 'Malformed plaintextLength');
const entry = cache.get(key);

@@ -73,3 +73,3 @@ /* Check for early return (Postcondition): If this key does not have an EncryptionMaterial, return false. */

/* Postcondition: Only return EncryptionMaterial. */
material_management_1.needs(material_management_1.isEncryptionMaterial(entry.response), 'Malformed response.');
(0, material_management_1.needs)((0, material_management_1.isEncryptionMaterial)(entry.response), 'Malformed response.');
entry.bytesEncrypted += plaintextLength;

@@ -85,3 +85,3 @@ entry.messagesEncrypted += 1;

/* Postcondition: Only return DecryptionMaterial. */
material_management_1.needs(material_management_1.isDecryptionMaterial(entry.response), 'Malformed response.');
(0, material_management_1.needs)((0, material_management_1.isDecryptionMaterial)(entry.response), 'Malformed response.');
return entry;

@@ -108,2 +108,2 @@ },

exports.getLocalCryptographicMaterials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 "prepublishOnly": "npm run build",

"dependencies": {
"@aws-crypto/material-management": "^3.0.0",
"@aws-crypto/serialize": "^3.0.0",
"@aws-crypto/material-management": "^3.1.0",
"@aws-crypto/serialize": "^3.1.0",
"@types/lru-cache": "^5.1.0",

@@ -35,3 +35,3 @@ "lru-cache": "^6.0.0",

],
"gitHead": "affe2378b842b35e22d430d29fa863db44ea6b60"
"gitHead": "1bc8957ce9378767d3fca65ae5310c130384e075"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc