@protontech/openpgp 6.0.0-beta.1 → 6.0.0-beta.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/README.md +2 -2
- package/dist/lightweight/argon2id.min.mjs +1 -1
- package/dist/lightweight/argon2id.mjs +1 -1
- package/dist/lightweight/legacy_ciphers.min.mjs +1 -1
- package/dist/lightweight/legacy_ciphers.mjs +1 -1
- package/dist/lightweight/noble_curves.min.mjs +1 -1
- package/dist/lightweight/noble_curves.mjs +1 -1
- package/dist/lightweight/noble_hashes.min.mjs +1 -1
- package/dist/lightweight/noble_hashes.mjs +1 -1
- package/dist/lightweight/openpgp.min.mjs +3 -2
- package/dist/lightweight/openpgp.min.mjs.map +1 -1
- package/dist/lightweight/openpgp.mjs +1011 -168
- package/dist/lightweight/sha3.min.mjs +1 -1
- package/dist/lightweight/sha3.mjs +1 -1
- package/dist/node/openpgp.cjs +985 -134
- package/dist/node/openpgp.min.cjs +12 -11
- package/dist/node/openpgp.min.cjs.map +1 -1
- package/dist/node/openpgp.min.mjs +12 -11
- package/dist/node/openpgp.min.mjs.map +1 -1
- package/dist/node/openpgp.mjs +984 -134
- package/dist/openpgp.js +1011 -168
- package/dist/openpgp.min.js +12 -11
- package/dist/openpgp.min.js.map +1 -1
- package/dist/openpgp.min.mjs +12 -11
- package/dist/openpgp.min.mjs.map +1 -1
- package/dist/openpgp.mjs +1011 -168
- package/openpgp.d.ts +8 -1
- package/package.json +6 -5
package/openpgp.d.ts
CHANGED
|
@@ -499,7 +499,8 @@ export class SignaturePacket extends BasePacket {
|
|
|
499
499
|
public hashAlgorithm: enums.hash | null;
|
|
500
500
|
public publicKeyAlgorithm: enums.publicKey | null;
|
|
501
501
|
public signatureData: null | Uint8Array;
|
|
502
|
-
public unhashedSubpackets:
|
|
502
|
+
public unhashedSubpackets: RawSubpacket[];
|
|
503
|
+
public unknownSubpackets: RawSubpacket[];
|
|
503
504
|
public signedHashValue: null | Uint8Array;
|
|
504
505
|
public created: Date | null;
|
|
505
506
|
public signatureExpirationTime: null | number;
|
|
@@ -543,6 +544,12 @@ export class SignaturePacket extends BasePacket {
|
|
|
543
544
|
public getExpirationTime(): Date | typeof Infinity;
|
|
544
545
|
}
|
|
545
546
|
|
|
547
|
+
export interface RawSubpacket {
|
|
548
|
+
type: number;
|
|
549
|
+
critical: boolean;
|
|
550
|
+
body: Uint8Array;
|
|
551
|
+
}
|
|
552
|
+
|
|
546
553
|
export interface RawNotation {
|
|
547
554
|
name: string;
|
|
548
555
|
value: Uint8Array;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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": "6.0.0-beta.
|
|
4
|
+
"version": "6.0.0-beta.2",
|
|
5
5
|
"license": "LGPL-3.0+",
|
|
6
6
|
"homepage": "https://openpgpjs.org/",
|
|
7
7
|
"engines": {
|
|
8
|
-
"node": ">=
|
|
8
|
+
"node": ">= 18.0.0"
|
|
9
9
|
},
|
|
10
10
|
"keywords": [
|
|
11
11
|
"crypto",
|
|
@@ -63,12 +63,13 @@
|
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@noble/curves": "^1.4.0",
|
|
66
|
+
"@noble/ed25519": "^1.7.3",
|
|
66
67
|
"@noble/hashes": "^1.4.0",
|
|
67
68
|
"@openpgp/asmcrypto.js": "^3.1.0",
|
|
68
69
|
"@openpgp/jsdoc": "^3.6.11",
|
|
69
70
|
"@openpgp/seek-bzip": "^1.0.5-git",
|
|
70
71
|
"@openpgp/tweetnacl": "^1.0.4-1",
|
|
71
|
-
"@openpgp/web-stream-tools": "~0.1.
|
|
72
|
+
"@openpgp/web-stream-tools": "~0.1.3",
|
|
72
73
|
"@rollup/plugin-alias": "^5.1.0",
|
|
73
74
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
74
75
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
@@ -109,8 +110,8 @@
|
|
|
109
110
|
"ts-node": "^10.9.2",
|
|
110
111
|
"tslib": "^2.6.2",
|
|
111
112
|
"tsx": "^4.10.4",
|
|
112
|
-
"typescript": "^5.
|
|
113
|
-
"web-streams-polyfill": "^
|
|
113
|
+
"typescript": "^5.5.2",
|
|
114
|
+
"web-streams-polyfill": "^4.0.0"
|
|
114
115
|
},
|
|
115
116
|
"repository": {
|
|
116
117
|
"type": "git",
|