@protontech/openpgp 5.9.1-0 → 5.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/openpgp.d.ts CHANGED
@@ -317,6 +317,7 @@ interface Config {
317
317
  aeadProtect: boolean;
318
318
  allowUnauthenticatedMessages: boolean;
319
319
  allowUnauthenticatedStream: boolean;
320
+ allowForwardedMessages: boolean;
320
321
  checksumRequired: boolean;
321
322
  minRSABits: number;
322
323
  passwordCollisionCheck: boolean;
@@ -397,6 +398,7 @@ declare abstract class BaseSecretKeyPacket extends BasePublicKeyPacket {
397
398
  public decrypt(passphrase: string): Promise<void>; // throws on error
398
399
  public validate(): Promise<void>; // throws on error
399
400
  public isDummy(): boolean;
401
+ public isMissingSecretKeyMaterial(): boolean;
400
402
  public makeDummy(config?: Config): void;
401
403
  }
402
404
 
@@ -706,6 +708,7 @@ interface SubkeyOptions {
706
708
  keyExpirationTime?: number;
707
709
  date?: Date;
708
710
  sign?: boolean;
711
+ forwarding?: boolean;
709
712
  config?: PartialConfig;
710
713
  }
711
714
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@protontech/openpgp",
3
3
  "description": "OpenPGP.js is a Javascript implementation of the OpenPGP protocol. This is defined in RFC 4880.",
4
- "version": "5.9.1-0",
4
+ "version": "5.10.2",
5
5
  "license": "LGPL-3.0+",
6
6
  "homepage": "https://openpgpjs.org/",
7
7
  "engines": {
@@ -45,7 +45,7 @@
45
45
  "prebrowsertest": "npm run build-test",
46
46
  "browsertest": "npm start -- -o test/unittests.html",
47
47
  "test-browser": "karma start test/karma.conf.js",
48
- "test-browserstack": "karma start test/karma.conf.js --browsers bs_safari_latest,bs_ios_15,bs_safari_13_1",
48
+ "test-browserstack": "karma start test/karma.conf.js --browsers bs_safari_latest,bs_ios_14,bs_safari_13_1",
49
49
  "coverage": "nyc npm test",
50
50
  "lint": "eslint .",
51
51
  "docs": "jsdoc --configure .jsdocrc.js --destination docs --recurse README.md src && printf '%s' 'docs.openpgpjs.org' > docs/CNAME",