CircleCI does not support PKCS#8 ssh keys

Right now, CircleCI only support PKCS#1 ssh keys (BEGIN RSA PRIVATE KEY) which is deprecated.
Latest ssh-keygen versions don’t allow anymore to generate them and use PKCS#8 as default (BEGIN OPENSSH PRIVATE KEY). Sadly, CircleCI consider them as invalid.

Is it possible to allow PKCS#8 keys which is now the default ssh private keys format and which by the way also allows to use more secure ECDSA keys (or any other supported encryption as the encryption protocol is noincluded into the key)

NB: See or for details about their differences and why PKCS#1 is deprecated.

1 Like

I’d suggest adding this to the ideas list.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.