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
I was reviewing sign.py and noticed that
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