Skip to content

Bcrypt cycles ENV var #40

Description

@kaievns

I think this service should accept an ENV var that will specify how many encryption cycles bcrypt should use.

Basically the problem is that production grade bcrypt takes quite a bit of time and it slows down tests significantly. I want to be able to specify something like ENCRYPT_CYCLES=1 in a test environment and make the auth service to create new records faster.

Also this will allow us to use more cycles in security critical apps

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions