Skip to content

passphrase cannot be blank #9

Description

@lionbee

Perhaps this is broken by design, but if you try to decrypt a key with an empty passphrase bcrypt_pbkdf will return -1 indicating an error occurred.

https://github.com/joyent/node-bcrypt-pbkdf/blob/9ae4b4912099b2dc2ff38ab34934324523ab8025/index.js#L508-L510

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions