open-vault/website/content/docs/secrets/pki
Alexander Scheel ad3a093b40
Prevent PSS with Go-incompatible CAs, CSRs, Private Keys (#17223)
* Fix interoperability concerns with PSS

When Go parses a certificate with rsaPSS OID, it will accept this
certificate but not parse the SubjectPublicKeyInfo, leaving the
PublicKeyAlgorithm and PublicKey fields blank, but otherwise not erring.
The same behavior occurs with rsaPSS OID CSRs.

On the other hand, when Go parses rsaPSS OID PKCS8 private keys, these
keys will fail to parse completely.

Thus, detect and fail on any empty PublicKey certs and CSRs, warning the
user that we cannot parse these correctly and thus refuse to operate.

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Run more PKI tests in parallel

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add notes about PSS shortcomings to considerations

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2022-09-20 17:30:58 -04:00
..
considerations.mdx Prevent PSS with Go-incompatible CAs, CSRs, Private Keys (#17223) 2022-09-20 17:30:58 -04:00
index.mdx Add note about X.509 SHA-1 deprecation to relevant plugins (#15672) 2022-06-01 12:41:11 -07:00
quick-start-intermediate-ca.mdx Fix Learn->Tutorial in internal PKI docs (#15531) 2022-05-23 11:53:13 -04:00
quick-start-root-ca.mdx Fix Learn->Tutorial in internal PKI docs (#15531) 2022-05-23 11:53:13 -04:00
rotation-primitives.mdx Fix Learn->Tutorial in internal PKI docs (#15531) 2022-05-23 11:53:13 -04:00
setup.mdx Fix Learn->Tutorial in internal PKI docs (#15531) 2022-05-23 11:53:13 -04:00