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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions