We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
base32_encode passes the byte array to check_input, which returns an error if the first byte is 0.
This fails when it shouldn't i.e. 0 is a valid secret.
uint8_t secret_bytes[] = {0, 0, 0, 0}; cotp_error_t err_code; base32_encode(secret_bytes, 4, &err_code); // err_code = EMPTY_STRING
The text was updated successfully, but these errors were encountered:
You're right, thanks for reporting this! I'll fix it in the next days
Sorry, something went wrong.
fixed with 00c55cc
paolostivanin
No branches or pull requests
base32_encode passes the byte array to check_input, which returns an error if the first byte is 0.
This fails when it shouldn't i.e. 0 is a valid secret.
The text was updated successfully, but these errors were encountered: