Skip to content

Client aborts on root key rotation when either the old key set or new key set has an unmet threshold #42

Closed
@heartsucker

Description

@heartsucker

This was partially covered by #32, but I don't think the current test case is good enough.

TODO

Case 1:

  • 1.root.json has threshold 3 and keys 1, 2, and 3
  • 2.root.json has threshold 3 and keys 4, 5, 6
  • 2.root.json is signed with 1, 2, 4, 5, 6
  • client aborts

Case 2:

  • 1.root.json has threshold 3 and keys 1, 2, and 3
  • 2.root.json has threshold 3 and keys 4, 5, 6
  • 2.root.json is signed with 1, 2, 3, 5, 6
  • client aborts

Case 3:

  • 1.root.json has threshold 3 and keys 1, 2, and 3
  • 2.root.json has threshold 3 and keys 1, 2, and 4
  • 2.root.json is signed with 1, 2, 3
  • client aborts

Case 4:

  • 1.root.json has threshold 3 and keys 1, 2, and 3
  • 2.root.json has threshold 3 and keys 1, 2, and 4
  • 2.root.json is signed with 1, 2, 4
  • client aborts

Case 5:

  • 1.root.json has threshold 3 and keys 1, 2, and 3
  • 2.root.json has threshold 2 and keys 3, 4, and 5
  • 2.root.json is signed with 1, 2, 3, 4, 5
  • client continues

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions