Comparing version 6.0.0 to 6.0.1
@@ -97,3 +97,3 @@ /* eslint-disable max-lines, @typescript-eslint/indent */ | ||
public addSubkey(options: SubkeyOptions): Promise<PrivateKey>; | ||
public getDecryptionKeys(keyID?: KeyID, date?: Date | null, userID?: UserID, config?: Config): Promise<PrivateKey | Subkey>; | ||
public getDecryptionKeys(keyID?: KeyID, date?: Date | null, userID?: UserID, config?: Config): Promise<(PrivateKey | Subkey)[]>; | ||
public update(sourceKey: PublicKey, date?: Date, config?: Config): Promise<PrivateKey>; | ||
@@ -706,3 +706,3 @@ } | ||
passphrase?: string; | ||
type?: 'ecc' | 'rsa'; | ||
type?: 'ecc' | 'rsa' | 'curve25519' | 'curve448'; | ||
curve?: EllipticCurveName; | ||
@@ -718,10 +718,4 @@ rsaBits?: number; | ||
export interface SubkeyOptions { | ||
type?: 'ecc' | 'rsa'; | ||
curve?: EllipticCurveName; | ||
rsaBits?: number; | ||
keyExpirationTime?: number; | ||
date?: Date; | ||
export interface SubkeyOptions extends Pick<GenerateKeyOptions, 'type' | 'curve' | 'rsaBits' | 'keyExpirationTime' | 'date' | 'config'> { | ||
sign?: boolean; | ||
config?: PartialConfig; | ||
} | ||
@@ -728,0 +722,0 @@ |
{ | ||
"name": "openpgp", | ||
"description": "OpenPGP.js is a Javascript implementation of the OpenPGP protocol. This is defined in RFC 4880.", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"license": "LGPL-3.0+", | ||
@@ -25,5 +25,5 @@ "homepage": "https://openpgpjs.org/", | ||
"types": "./openpgp.d.ts", | ||
"browser": "./dist/openpgp.min.mjs", | ||
"import": "./dist/node/openpgp.mjs", | ||
"require": "./dist/node/openpgp.min.cjs", | ||
"browser": "./dist/openpgp.min.mjs" | ||
"require": "./dist/node/openpgp.min.cjs" | ||
}, | ||
@@ -30,0 +30,0 @@ "./lightweight": { |
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
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
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
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 too big to display
Sorry, the diff of this file is too big to display
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
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
16331982