Skip to content

What kind of keys we want to use with TUF?

As RSA keys TUF can handle:

An RSA public key can be in any of the following formats:  
- X.509 `subjectPublicKeyInfo` DER SEQUENCE (binary or PEM encoding)
- `PKCS#1`_ `RSAPublicKey` DER SEQUENCE (binary or PEM encoding)
- OpenSSH (textual public key only)
An RSA private key can be in any of the following formats:
- PKCS#1 `RSAPrivateKey` DER SEQUENCE (binary or PEM encoding)
- `PKCS#8`_ `PrivateKeyInfo` DER SEQUENCE (binary or PEM encoding)
- OpenSSH (textual public key only)

Or eliptic curve.

(from redmine: created on 2014-07-08, closed on 2014-07-11, relates #5893 (closed))