Skip to content

trust: Provide a better way to select service versions #1396

Closed
@jku

Description

@jku

#1387 would have less hacky if-elses if the SigningConfig had a proper way to access services by major version:

There's two ways to go about it :

  1. We can just add version arguments to get_tlog_urls() and get_tsa_urls(). This separates concerns so that

    • SigningConfig can deal with complexities of services (operators, selectors, etc)
    • the signing code knows which version it prefers to work with
  2. instead of returning urls, return Services for all versions and let the signing code deal with choosing the services it wants -- this seems undesirable because it continues to make signing code more complicated

I'll try this out and see if option 1 is enough for us

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions