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

file.secure option is incompatible with NodeJS 22 #423

Open
raffaele-abramini opened this issue Aug 1, 2024 · 0 comments
Open

file.secure option is incompatible with NodeJS 22 #423

raffaele-abramini opened this issue Aug 1, 2024 · 0 comments

Comments

@raffaele-abramini
Copy link

Hey folks, I love the library.

I'm using it as part of a small CLI helper library, in which I'm using the storing to file functionality, particulary with the secure option.

When I run on NodeJs v22, it crashes badly, as

Error parsing your configuration file: [....]: crypto.createCipher is not a function

I see this has already been updated in the source code of the library, where we are using createCipheriv instead.
However, that is not currently released.

Is there any plan to release the fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant