commit | 211416ee6413f7ffbd065d7b496f869a0c49be7e | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Thu Sep 01 11:13:13 2016 +0100 |
committer | David Howells <dhowells@redhat.com> | Thu Sep 01 11:13:13 2016 +0100 |
tree | 8ab8451fc241e6daacc9d2b1db62dfe1a38dd920 | |
parent | 3a8b45d6dfc177fe123594bc12679f1827992a27 [diff] |
KEYS: Implement PKCS#8 RSA Private Key parser Implement PKCS#8 RSA Private Key format [RFC 5208] parser for the asymmetric key type. For the moment, this will only support unencrypted DER blobs. PEM and decryption can be added later. PKCS#8 keys can be loaded like this: openssl pkcs8 -in private_key.pem -topk8 -nocrypt -outform DER | \ keyctl padd asymmetric foo @s Signed-off-by: David Howells <dhowells@redhat.com>