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
Filing this so we can merge #1437 (Add hash and length verification to MetaFile and TargetFile) and can continue with this afterwards.
We need to review the errors that maybe thrown by securesystemslib in in Basefile._verify_hashes():
do we want to handle all of them?
should we just raise LengthOrHashMismatchError or something else?
My first instinct is that this is like verify_signatures(): the error messages may be interesting but from client POV what matters is that we cannot guarantee that hashes match.
Filing this so we can merge #1437 (Add hash and length verification to MetaFile and TargetFile) and can continue with this afterwards.
We need to review the errors that maybe thrown by securesystemslib in in
Basefile._verify_hashes()
:My first instinct is that this is like verify_signatures(): the error messages may be interesting but from client POV what matters is that we cannot guarantee that hashes match.
cc @sechkova
The text was updated successfully, but these errors were encountered: