Skip to content

Improve (audit) logging of key/certificate material #368

Closed

Description

@jku

TUF is now used to download the various certificates and public keys. It would be good to review the visibility of

  • which keys/certificates are used during a specific sigstore CLI command
  • when certificates and keys are updated

Both of these could be beneficial for debugging and auditability.

I suppose a first step might be to ensure that we log the keys/certs we use at least at DEBUG level: the simplest thing might be for the TrustUpdater to log the hash (and maybe even the cached file location) of the artifacts that are returned via TrustUpdater.get_*(). It's possible that python-tuf already logs something like this but I am not sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions