Skip to content

Signer should handle ExpiredCertificate? #1729

Description

@jku

I was reviewing sign.py and noticed that

  • we cache Fulcio certificate by default
  • we don't try to renew the certificate when it expires, just raise ExpiredCertificate

It would probably be harmless and good UX to renew the cert in Signer (if OIDC token is still alive). This would obviously only apply to some processes where hundreds of artifacts are being signed.

I'll run some tests before actually proposing anything but I'm filing this already so I don't forget

Metadata

Metadata

Assignees

No one assigned

    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