Skip to content

repo.RootKeys returns wrong metadata #379

Closed
@zwass

Description

@zwass

Now that #354 is merged, the only way to initialize a client is using the full root metadata (please correct if I'm wrong here).

The repo.RootKeys implementation, which is documented to provide the metadata needed to initialize clients returns an array of public keys, which can no longer be used to initialize the client.

  1. Is it correct to now distribute the full root.json to clients?
  2. Should repo.RootKeys be updated to return the full root metadata? (found docs: update the CLI usage documentation #322 mentioning this)
  3. What should be done for clients that have already been distributed with the old style of root keys (just the keys, not the full metadata)?

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