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
Hi,
I am using Python 3.7 and with the command: mediaKeyExpanded = HKDFv3().deriveSecrets(mediaK, "Image Keys", 112)
mediaKeyExpanded = HKDFv3().deriveSecrets(mediaK, "Image Keys", 112)
Displays the following error:
TypeError: string argument without an encoding
The solution is to basically change line 49 of the axolotl/kdf/hkdf.py file: mac.update(bytes(info)) for: mac.update(bytes(info, encoding="utf8"))
mac.update(bytes(info))
mac.update(bytes(info, encoding="utf8"))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I am using Python 3.7 and with the command:
mediaKeyExpanded = HKDFv3().deriveSecrets(mediaK, "Image Keys", 112)
Displays the following error:
The solution is to basically change line 49 of the axolotl/kdf/hkdf.py file:
mac.update(bytes(info))
for:
mac.update(bytes(info, encoding="utf8"))
The text was updated successfully, but these errors were encountered: