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
The verify_digest should explicitly fail if used with CurveEdTw, otherwise it leads to very hard to understand error:
AttributeError: 'PublicKey' object has no attribute 'order'
By the way, I was trying to verify the signature which was created for a message hashed with blake2b, and the correct usage is this (ie not to use verify_digest). But I had to study the code to understand the mistake.
The
verify_digest
should explicitly fail if used with CurveEdTw, otherwise it leads to very hard to understand error:AttributeError: 'PublicKey' object has no attribute 'order'
By the way, I was trying to verify the signature which was created for a message hashed with
blake2b
, and the correct usage is this (ie not to useverify_digest
). But I had to study the code to understand the mistake.The text was updated successfully, but these errors were encountered: