Add test for duplicate keyids#108
Conversation
Signed-off-by: Adam Korczynski <[email protected]>
oh I see now, you mean the test failing in CI. I'll have a look EDIT: python tuf indeed will not deserialize metadata with duplicate keyids... we'll have to decide how we continue. This still seems like an acceptable choice by python-tuf: I wouldn't want to force them to change for the test... |
Yes, for the record, the test is currently set up so that python-tuf fails, but that does not mean that it - or go-tuf for that matter - is wrong. The interesting part here is that the two clients behave differently. |
|
a way to move forward here would be to accept either case for now:
The logic here is that while we should try to get a full consensus, the really important thing is to check that multiple keyids will not be double counted by any client EDIT: The above is actually already tested by |
|
I think we can close this one:
I'll mark this "request changes" just to remove the approval that I gave before understanding the issue @AdamKorcz opinions? |
jku
left a comment
There was a problem hiding this comment.
marking "request changes" to remove my accidental approval: I think we might just be able to close this without merging
|
Closing, everything is handled by other issues |
Add test that is specified in #86 (comment) without the bonus test.
The two clients seem to disagree on whether root metadata should update if there are duplicate keys. As such, python-tuf does not fail on meeting the threshold, but rather because the root has duplicate keys.