Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

VerificationResult should include keys for keyids #2544

Copy link
Copy link
@lukpueh

Description

@lukpueh
Issue body actions

The get_verification_result method returns a VerificationResult, which contains two sets of TUF keyids.

Typical usage of a VerificationResult entails retrieving the Key objects for those keyids from the corresponding root metadata keystore. It would be useful, if VerificationResult included Key objects right away.

Options are:

  1. Use sets of Key objects - This requires making the Key class hashable and immutable, which is possible but maybe overly complicated (see discussion))
  2. Use lists of Key objects and promise that they only contain unique keys, and optionally provide tooling for set-like operations (see wrapper workaround)
  3. Use "keyid: Key"- dictionaries (see wrapper workaround)
Reactions are currently unavailable

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.