grafeas / kritis

Deploy-time Policy Enforcer for Kubernetes applications
https://github.com/grafeas/kritis/blob/master/docs/binary-authorization.md
Apache License 2.0
699 stars 135 forks source link

Update new public key to use signatureAlgorithm field. #554

Closed treyridley closed 4 years ago

treyridley commented 4 years ago

Have the NewPublicKey create a public key with the signatureAlgorithm field populated. This is needed for JWT and PKIX verification. For PGP, the signatureAlgorithm should be undefined.