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

Implement Passphrase autogeneration and a trivial key handling refactor #82

Merged
merged 29 commits into from
Jun 19, 2022

Conversation

brxken128
Copy link
Owner

This branch trivially refactors how keys get their "secrets", by adding a Key struct. You may use Key::get_secret() to get the secret value, and the logic for this is contained within parameters.rs.

Passphrase auto-generation was added using the EFF Large Wordlist, just with the index removed. This will cause the Dexios binary to increase marginally in size, but that's nothing compared to the benefits gained.

Currently, the generated password looks something like: Surcharge-Otter-Backpedal-574345. It is shown once during generation, and never again. 3 large capitalized words, separated with -, and 6 numbers at the end.

This may change in the future, but keys will always be compatible (and with V4 headers, you can change them!)

@brxken128 brxken128 changed the base branch from master to v8.7.0 June 19, 2022 16:55
@brxken128 brxken128 merged commit 86bdad3 into v8.7.0 Jun 19, 2022
@brxken128 brxken128 deleted the key-refactor-and-autogen branch June 19, 2022 19:48
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.

1 participant