Files
teleport/integration/appaccess
Nic Klaassen b5cb34a307 support separate SSH and TLS keys in generateUserCert (#43894)
* support separate SSH and TLS keys in `generateUserCert`

This PR splits the SSH and TLS public keys passed to
`auth.(*Server).generateUserCert`. The attestation statement associated
with the public key is also split.

Now, `sshPublicKey` will be the subject public key of the returned SSH
certificate, and `tlsPublicKey` will be the subject public key of the
returned TLS certificate. If either is not provided, the corresponding
certificate is not generated or returned.

This does not update any code paths to actually use different keys here,
but prepares for that in the future.

* use public key conversion func

* fix public key format in db tests
2024-07-10 16:50:53 +00:00
..
2024-06-26 19:24:16 +00:00