Thanks to visit codestin.com
Credit goes to github.com

Skip to content

file.secure option is incompatible with NodeJS 22 #423

@raffaele-abramini

Description

@raffaele-abramini

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions