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

Provide better error message for incorrect password #115

Open
giarc3 opened this issue Feb 11, 2020 · 0 comments
Open

Provide better error message for incorrect password #115

giarc3 opened this issue Feb 11, 2020 · 0 comments

Comments

@giarc3
Copy link
Member

giarc3 commented Feb 11, 2020

Currently the error for generating a new device with an incorrect password is IronOxideErr::AesError(Unspecified). This comes from ring::aead::OpeningKey.open_in_place() for the decrypt case, but it comes from other places as well (like encrypt_user_master_key()).

We should make a better error message for these failure cases.

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

No branches or pull requests

1 participant