mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-11-23 22:15:52 +00:00
Bump @noble/ciphers to v2
This commit is contained in:
parent
c40eb64743
commit
d378219031
10
package-lock.json
generated
10
package-lock.json
generated
@ -10,7 +10,7 @@
|
||||
"license": "LGPL-3.0+",
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.37.0",
|
||||
"@noble/ciphers": "^1.3.0",
|
||||
"@noble/ciphers": "^2.0.1",
|
||||
"@noble/curves": "^2.0.1",
|
||||
"@noble/hashes": "^2.0.1",
|
||||
"@openpgp/jsdoc": "^3.6.11",
|
||||
@ -1028,13 +1028,13 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@noble/ciphers": {
|
||||
"version": "1.3.0",
|
||||
"resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-1.3.0.tgz",
|
||||
"integrity": "sha512-2I0gnIVPtfnMw9ee9h1dJG7tp81+8Ob3OJb3Mv37rx5L40/b0i7djjCVvGOVqc9AEIQyvyu1i6ypKdFw8R8gQw==",
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-2.0.1.tgz",
|
||||
"integrity": "sha512-xHK3XHPUW8DTAobU+G0XT+/w+JLM7/8k1UFdB5xg/zTFPnFCobhftzw8wl4Lw2aq/Rvir5pxfZV5fEazmeCJ2g==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": "^14.21.3 || >=16"
|
||||
"node": ">= 20.19.0"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://paulmillr.com/funding/"
|
||||
|
||||
@ -64,7 +64,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.37.0",
|
||||
"@noble/ciphers": "^1.3.0",
|
||||
"@noble/ciphers": "^2.0.1",
|
||||
"@noble/curves": "^2.0.1",
|
||||
"@noble/hashes": "^2.0.1",
|
||||
"@openpgp/jsdoc": "^3.6.11",
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
* @module crypto/aes_kw
|
||||
*/
|
||||
|
||||
import { aeskw as nobleAesKW } from '@noble/ciphers/aes';
|
||||
import { aeskw as nobleAesKW } from '@noble/ciphers/aes.js';
|
||||
import { getCipherParams } from './cipher';
|
||||
import util from '../util';
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
* @module crypto/mode/cfb
|
||||
*/
|
||||
|
||||
import { cfb as nobleAesCfb, unsafe as nobleAesHelpers } from '@noble/ciphers/aes';
|
||||
import { cfb as nobleAesCfb, unsafe as nobleAesHelpers } from '@noble/ciphers/aes.js';
|
||||
|
||||
import { transform as streamTransform } from '@openpgp/web-stream-tools';
|
||||
import util from '../../util';
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
* @module crypto/mode/eax
|
||||
*/
|
||||
|
||||
import { ctr as nobleAesCtr } from '@noble/ciphers/aes';
|
||||
import { ctr as nobleAesCtr } from '@noble/ciphers/aes.js';
|
||||
import CMAC from '../cmac';
|
||||
import util from '../../util';
|
||||
import enums from '../../enums';
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
* @module crypto/mode/gcm
|
||||
*/
|
||||
|
||||
import { gcm as nobleAesGcm } from '@noble/ciphers/aes';
|
||||
import { gcm as nobleAesGcm } from '@noble/ciphers/aes.js';
|
||||
import util from '../../util';
|
||||
import enums from '../../enums';
|
||||
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
* @module crypto/mode/ocb
|
||||
*/
|
||||
|
||||
import { cbc as nobleAesCbc } from '@noble/ciphers/aes';
|
||||
import { cbc as nobleAesCbc } from '@noble/ciphers/aes.js';
|
||||
import { getCipherParams } from '../cipher';
|
||||
import util from '../../util';
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
* @module crypto/cmac
|
||||
*/
|
||||
|
||||
import { cbc as nobleAesCbc } from '@noble/ciphers/aes';
|
||||
import { cbc as nobleAesCbc } from '@noble/ciphers/aes.js';
|
||||
import util from '../util';
|
||||
|
||||
const webCrypto = util.getWebCrypto();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user