Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move the secret_key validation to Habitat. #65

Merged
merged 2 commits into from
Jul 21, 2021
Merged

Move the secret_key validation to Habitat. #65

merged 2 commits into from
Jul 21, 2021

Conversation

jwoertink
Copy link
Member

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

…method which seemed to be broken anyway. Fixes #61
src/authentic.cr Outdated Show resolved Hide resolved
@jwoertink jwoertink merged commit 76e76aa into master Jul 21, 2021
@jwoertink jwoertink deleted the issues/61 branch July 21, 2021 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use Habitat for setting validation
2 participants