You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 10, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 10, 2023. It is now read-only.
I've tried to sign tokens with the pycryptodome AuthSigner and it definitely doesn't work. If I remember correctly the token isn't hashed with SHA-256.
I've tested everything I've written, also in the documentation it says the format for the public key being sent is PEM with the header, footer, and newlines removed but from other implementations of ADB this doesn't appear to be the case.
Activity
fahhem commentedon May 31, 2018
Can you verify it works when you replace the following lines:
With this line:
GoobyCorp commentedon May 31, 2018
That won't work either, it requires a hasher instance.
fahhem commentedon May 31, 2018
In other signers it looks like the data comes pre-hashed. Have you tried the code?
GoobyCorp commentedon May 31, 2018
If it's prehashed then it's not going to work with pycryptodome without modifications.
fahhem commentedon May 31, 2018
Do you have any suggestions then? @greateggsgreg added pycryptodome and I assume he tried it out. Did you try anything or is this just theory?
GoobyCorp commentedon May 31, 2018
I've tested everything I've written, also in the documentation it says the format for the public key being sent is PEM with the header, footer, and newlines removed but from other implementations of ADB this doesn't appear to be the case.