Skip to content

test_duplicate_keys_root should add duplicate signatures too #147

@jku

Description

@jku

the test_duplicate_keys_root test is pretty good:

  • it adds duplicate keyids (and one matching key) to snapshot role and signs the new root
  • test expects client refresh to fail This can happen for two reasons
    • either the client does not accept the new root because of duplicate keyids (Add test for duplicate keyids #108)
    • or client does accept new root but snapshot does not meet threshold

The one thing I'd like to add is that snapshot metadata should contain duplicate signatures: the same keyid/signature pair multiple times.

Implementing this requires the RepositorySimulator refactor "explicit signing #155 since we need to manually tweak the signatures .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions