luckyframework / authentic

An authentication library for Lucky projects
MIT License
14 stars 13 forks source link

Move the secret_key validation to Habitat. #65

Closed jwoertink closed 3 years ago

jwoertink commented 3 years ago

Fixes #61

The error message before indicated that it had to be 32 characters, but that wasn't necessarily correct. You can use emoji as valid cypher keys, and 1 emoji could contain 6 bytes making it less than 32 characters.

Here's what the new error would look like.

Screen Shot 2021-07-21 at 9 45 59 AM