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

@aws-crypto/material-management-node

Package Overview
Dependencies
Maintainers
8
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-crypto/material-management-node - npm Package Compare versions

Comparing version 3.2.0 to 3.2.2

./build/main/src/index.js

8

build/main/src/index.js

@@ -6,3 +6,7 @@ "use strict";

if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -42,2 +46,2 @@ if (k2 === undefined) k2 = k;

Object.defineProperty(exports, "MessageFormat", { enumerable: true, get: function () { return material_management_1.MessageFormat; } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLG9FQUFvRTtBQUNwRSxzQ0FBc0M7Ozs7Ozs7Ozs7Ozs7QUFFdEMseUVBQXNEO0FBQ3RELHVEQVMyQjtBQVJ6QixvSEFBQSxnQkFBZ0IsT0FBQTtBQUNoQix1SEFBQSxtQkFBbUIsT0FBQTtBQVFyQix1RUEyQndDO0FBMUJ0Qyw2SEFBQSxzQkFBc0IsT0FBQTtBQUN0Qiw2SEFBQSxzQkFBc0IsT0FBQTtBQUN0Qix5SEFBQSxrQkFBa0IsT0FBQTtBQUNsQiwrSEFBQSx3QkFBd0IsT0FBQTtBQUV4Qix1SEFBQSxnQkFBZ0IsT0FBQTtBQUVoQix1SEFBQSxnQkFBZ0IsT0FBQTtBQUNoQiw0R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gsdUhBQUEsZ0JBQWdCLE9BQUE7QUFDaEIseUhBQUEsa0JBQWtCLE9BQUE7QUFDbEIscUhBQUEsY0FBYyxPQUFBO0FBQ2Qsa0hBQUEsV0FBVyxPQUFBO0FBQ1gsdUhBQUEsZ0JBQWdCLE9BQUE7QUFFaEIsb0hBQUEsYUFBYSxPQUFBO0FBRWIsdUhBQUEsZ0JBQWdCLE9BQUE7QUFDaEIsNkhBQUEsc0JBQXNCLE9BQUE7QUFDdEIsNEhBQUEscUJBQXFCLE9BQUE7QUFDckIsc0hBQUEsZUFBZSxPQUFBO0FBQ2Ysb0hBQUEsYUFBYSxPQUFBIn0=
/// <reference types="node" />
/// <reference types="node" />
import { NodeEncryptionMaterial, NodeDecryptionMaterial, AwsEsdkKeyObject } from '@aws-crypto/material-management';

@@ -60,10 +61,10 @@ import { createCipheriv, createDecipheriv } from 'crypto';

export declare const getDecryptionHelper: GetDecryptionHelper;
declare type CreateCryptoIvStream<Material extends NodeEncryptionMaterial | NodeDecryptionMaterial> = Material extends NodeEncryptionMaterial ? typeof createCipheriv : typeof createDecipheriv;
declare type CryptoStream<Material extends NodeEncryptionMaterial | NodeDecryptionMaterial> = Material extends NodeEncryptionMaterial ? AwsEsdkJsCipherGCM : AwsEsdkJsDecipherGCM;
declare type CreateCryptoStream<Material extends NodeEncryptionMaterial | NodeDecryptionMaterial> = (iv: Uint8Array) => CryptoStream<Material>;
declare type CurryHelper<Material extends NodeEncryptionMaterial | NodeDecryptionMaterial> = Material extends NodeEncryptionMaterial ? {
type CreateCryptoIvStream<Material extends NodeEncryptionMaterial | NodeDecryptionMaterial> = Material extends NodeEncryptionMaterial ? typeof createCipheriv : typeof createDecipheriv;
type CryptoStream<Material extends NodeEncryptionMaterial | NodeDecryptionMaterial> = Material extends NodeEncryptionMaterial ? AwsEsdkJsCipherGCM : AwsEsdkJsDecipherGCM;
type CreateCryptoStream<Material extends NodeEncryptionMaterial | NodeDecryptionMaterial> = (iv: Uint8Array) => CryptoStream<Material>;
type CurryHelper<Material extends NodeEncryptionMaterial | NodeDecryptionMaterial> = Material extends NodeEncryptionMaterial ? {
getCipher: CreateCryptoStream<Material>;
keyCommitment: Uint8Array;
} : Material extends NodeDecryptionMaterial ? CreateCryptoStream<Material> : never;
export declare function curryCryptoStream<Material extends NodeEncryptionMaterial | NodeDecryptionMaterial>(material: Material, createCryptoIvStream: CreateCryptoIvStream<Material>): (messageId: Uint8Array, commitKey?: Uint8Array | undefined) => CurryHelper<Material>;
export declare function curryCryptoStream<Material extends NodeEncryptionMaterial | NodeDecryptionMaterial>(material: Material, createCryptoIvStream: CreateCryptoIvStream<Material>): (messageId: Uint8Array, commitKey?: Uint8Array) => CurryHelper<Material>;
export declare function nodeKdf(material: NodeEncryptionMaterial | NodeDecryptionMaterial, nonce: Uint8Array, commitKey?: Uint8Array): {

@@ -70,0 +71,0 @@ derivedKey: Uint8Array | AwsEsdkKeyObject;

import { NodeMaterialsManager, EncryptionRequest, DecryptionRequest, EncryptionContext, NodeAlgorithmSuite, NodeEncryptionMaterial, NodeDecryptionMaterial, KeyringNode, GetEncryptionMaterials, GetDecryptMaterials } from '@aws-crypto/material-management';
export declare type NodeEncryptionRequest = EncryptionRequest<NodeAlgorithmSuite>;
export declare type NodeDecryptionRequest = DecryptionRequest<NodeAlgorithmSuite>;
export declare type NodeGetEncryptionMaterials = GetEncryptionMaterials<NodeAlgorithmSuite>;
export declare type NodeGetDecryptMaterials = GetDecryptMaterials<NodeAlgorithmSuite>;
export type NodeEncryptionRequest = EncryptionRequest<NodeAlgorithmSuite>;
export type NodeDecryptionRequest = DecryptionRequest<NodeAlgorithmSuite>;
export type NodeGetEncryptionMaterials = GetEncryptionMaterials<NodeAlgorithmSuite>;
export type NodeGetDecryptMaterials = GetDecryptMaterials<NodeAlgorithmSuite>;
/**

@@ -7,0 +7,0 @@ * The NodeDefaultCryptographicMaterialsManager is a specific implementation of the CryptographicMaterialsManager.

/// <reference types="node" />
/// <reference types="node" />
import * as stream from 'stream';

@@ -3,0 +4,0 @@ export interface AwsESDKSigner extends stream.Writable {

/// <reference types="node" />
/// <reference types="node" />
import { NodeEncryptionMaterial, NodeDecryptionMaterial, AwsEsdkKeyObject } from '@aws-crypto/material-management';

@@ -60,10 +61,10 @@ import { createCipheriv, createDecipheriv } from 'crypto';

export declare const getDecryptionHelper: GetDecryptionHelper;
declare type CreateCryptoIvStream<Material extends NodeEncryptionMaterial | NodeDecryptionMaterial> = Material extends NodeEncryptionMaterial ? typeof createCipheriv : typeof createDecipheriv;
declare type CryptoStream<Material extends NodeEncryptionMaterial | NodeDecryptionMaterial> = Material extends NodeEncryptionMaterial ? AwsEsdkJsCipherGCM : AwsEsdkJsDecipherGCM;
declare type CreateCryptoStream<Material extends NodeEncryptionMaterial | NodeDecryptionMaterial> = (iv: Uint8Array) => CryptoStream<Material>;
declare type CurryHelper<Material extends NodeEncryptionMaterial | NodeDecryptionMaterial> = Material extends NodeEncryptionMaterial ? {
type CreateCryptoIvStream<Material extends NodeEncryptionMaterial | NodeDecryptionMaterial> = Material extends NodeEncryptionMaterial ? typeof createCipheriv : typeof createDecipheriv;
type CryptoStream<Material extends NodeEncryptionMaterial | NodeDecryptionMaterial> = Material extends NodeEncryptionMaterial ? AwsEsdkJsCipherGCM : AwsEsdkJsDecipherGCM;
type CreateCryptoStream<Material extends NodeEncryptionMaterial | NodeDecryptionMaterial> = (iv: Uint8Array) => CryptoStream<Material>;
type CurryHelper<Material extends NodeEncryptionMaterial | NodeDecryptionMaterial> = Material extends NodeEncryptionMaterial ? {
getCipher: CreateCryptoStream<Material>;
keyCommitment: Uint8Array;
} : Material extends NodeDecryptionMaterial ? CreateCryptoStream<Material> : never;
export declare function curryCryptoStream<Material extends NodeEncryptionMaterial | NodeDecryptionMaterial>(material: Material, createCryptoIvStream: CreateCryptoIvStream<Material>): (messageId: Uint8Array, commitKey?: Uint8Array | undefined) => CurryHelper<Material>;
export declare function curryCryptoStream<Material extends NodeEncryptionMaterial | NodeDecryptionMaterial>(material: Material, createCryptoIvStream: CreateCryptoIvStream<Material>): (messageId: Uint8Array, commitKey?: Uint8Array) => CurryHelper<Material>;
export declare function nodeKdf(material: NodeEncryptionMaterial | NodeDecryptionMaterial, nonce: Uint8Array, commitKey?: Uint8Array): {

@@ -70,0 +71,0 @@ derivedKey: Uint8Array | AwsEsdkKeyObject;

import { NodeMaterialsManager, EncryptionRequest, DecryptionRequest, EncryptionContext, NodeAlgorithmSuite, NodeEncryptionMaterial, NodeDecryptionMaterial, KeyringNode, GetEncryptionMaterials, GetDecryptMaterials } from '@aws-crypto/material-management';
export declare type NodeEncryptionRequest = EncryptionRequest<NodeAlgorithmSuite>;
export declare type NodeDecryptionRequest = DecryptionRequest<NodeAlgorithmSuite>;
export declare type NodeGetEncryptionMaterials = GetEncryptionMaterials<NodeAlgorithmSuite>;
export declare type NodeGetDecryptMaterials = GetDecryptMaterials<NodeAlgorithmSuite>;
export type NodeEncryptionRequest = EncryptionRequest<NodeAlgorithmSuite>;
export type NodeDecryptionRequest = DecryptionRequest<NodeAlgorithmSuite>;
export type NodeGetEncryptionMaterials = GetEncryptionMaterials<NodeAlgorithmSuite>;
export type NodeGetDecryptMaterials = GetDecryptMaterials<NodeAlgorithmSuite>;
/**

@@ -7,0 +7,0 @@ * The NodeDefaultCryptographicMaterialsManager is a specific implementation of the CryptographicMaterialsManager.

/// <reference types="node" />
/// <reference types="node" />
import * as stream from 'stream';

@@ -3,0 +4,0 @@ export interface AwsESDKSigner extends stream.Writable {

{
"name": "@aws-crypto/material-management-node",
"version": "3.2.0",
"version": "3.2.2",
"scripts": {

@@ -22,4 +22,4 @@ "prepublishOnly": "npm run build",

"@aws-crypto/hkdf-node": "^3.0.0",
"@aws-crypto/material-management": "^3.2.0",
"@aws-crypto/serialize": "^3.2.0",
"@aws-crypto/material-management": "^3.2.2",
"@aws-crypto/serialize": "^3.2.2",
"tslib": "^2.2.0"

@@ -34,3 +34,3 @@ },

],
"gitHead": "7928be0e92615386490756d2372636b59b34dcd8"
"gitHead": "c97442ae9f1c35c918eb07549c137fb736eef811"
}

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

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