Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

infisical imported through npm doesn't work as expected #19836

Closed
uriva opened this issue Jul 14, 2023 · 0 comments · Fixed by #20368
Closed

infisical imported through npm doesn't work as expected #19836

uriva opened this issue Jul 14, 2023 · 0 comments · Fixed by #20368
Labels
bug Something isn't working correctly node compat

Comments

@uriva
Copy link

uriva commented Jul 14, 2023

Error: Not implemented: crypto.Decipheriv.prototype.setAuthTag
    at notImplemented (ext:deno_node/_utils.ts:9:11)
    at Decipheriv.setAuthTag (ext:deno_node/internal/crypto/cipher.ts:126:9)
    at decryptSymmetric128BitHexKeyUTF8 (file:///home/uri/.cache/deno/npm/registry.npmjs.org/infisical-node/1.3.1/lib/utils/crypto.js:161:14)
    at file:///home/uri/.cache/deno/npm/registry.npmjs.org/infisical-node/1.3.1/lib/helpers/key.js:51:78
    at step (file:///home/uri/.cache/deno/npm/registry.npmjs.org/infisical-node/1.3.1/lib/helpers/key.js:33:23)
    at Object.next (file:///home/uri/.cache/deno/npm/registry.npmjs.org/infisical-node/1.3.1/lib/helpers/key.js:14:53)
    at fulfilled (file:///home/uri/.cache/deno/npm/registry.npmjs.org/infisical-node/1.3.1/lib/helpers/key.js:5:58)
    at Object.runMicrotasks (ext:core/01_core.js:836:30)
    at processTicksAndRejections (ext:deno_node/_next_tick.ts:53:14)
    at runNextTicks (ext:deno_node/_next_tick.ts:71:5)
@bartlomieju bartlomieju added bug Something isn't working correctly node compat labels Jul 17, 2023
littledivy added a commit that referenced this issue Sep 6, 2023
Adds support for AES-GCM 128/256 bit keys in `node:crypto` and
`setAAD()`, `setAuthTag()` and `getAuthTag()`

Uses https://github.com/littledivy/aead-gcm-stream

Fixes #19836
#20353
bartlomieju pushed a commit to bartlomieju/deno that referenced this issue Sep 8, 2023
Adds support for AES-GCM 128/256 bit keys in `node:crypto` and
`setAAD()`, `setAuthTag()` and `getAuthTag()`

Uses https://github.com/littledivy/aead-gcm-stream

Fixes denoland#19836
denoland#20353
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly node compat
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants