Skip to content

Commit

Permalink
Update OpenPGP.js to v6.0.2-patch.0 (Palemoon EdDSA patch)
Browse files Browse the repository at this point in the history
  • Loading branch information
larabr committed Nov 27, 2024
1 parent c7ca018 commit bc5b9c6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
4 changes: 0 additions & 4 deletions lib/key/check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ export function checkKeyStrength(publicKey: PublicKey) {
enums.publicKey.x25519,
enums.publicKey.ed448,
enums.publicKey.x448,
// @ts-expect-error missing enum definition
enums.publicKey.pqc_mlkem_x25519,
// @ts-expect-error missing enum definition
enums.publicKey.pqc_mldsa_ed25519
]);

Expand Down Expand Up @@ -74,9 +72,7 @@ export function checkKeyCompatibility(publicKey: PublicKey, v6KeysAllowed = fals
enums.publicKey.ed448,
enums.publicKey.x25519,
enums.publicKey.x448,
// @ts-expect-error missing enum definition
enums.publicKey.pqc_mlkem_x25519,
// @ts-expect-error missing enum definition
enums.publicKey.pqc_mldsa_ed25519
];

Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@openpgp/web-stream-tools": "~0.1.3",
"@noble/hashes": "^1.6.0",
"jsmimeparser": "npm:@protontech/jsmimeparser@^3.0.1",
"openpgp": "npm:@protontech/openpgp@~6.0.1"
"openpgp": "npm:@protontech/openpgp@~6.0.2-patch.0"
},
"devDependencies": {
"@types/bn.js": "^5.1.6",
Expand Down

0 comments on commit bc5b9c6

Please sign in to comment.