aboutsummaryrefslogtreecommitdiff
path: root/tests/torture_key.h
AgeCommit message (Collapse)AuthorFilesLines
2019-12-20torture_key: Adds public keys in PEM format - as required by p11tool.Sahana Prasad1-0/+2
Signed-off-by: Sahana Prasad <sahana@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2019-04-17libssh: deprecate SSH_KEYTYPE_ECDSABen Toews1-3/+1
This type is imprecise. We often need the ecdsa_nid in addition to the key type in order to do anything. We replace this singluar ECDSA type with one type per curve. Signed-off-by: Ben Toews <mastahyeti@gmail.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2018-09-18tests: Provide testing keys also in OpenSSH formatJakub Jelen1-0/+6
This extends the torture API to provide a way to request keys in different formats. This extends the keys with private keys in the new OpenSSH format (default since OpenSSH 7.8). This also needs modifications to the ed25519 tests, which do not support PEM format and expected the new format out of the box. Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2018-09-17tests: Use stdbool for with_passphrase argumentJakub Jelen1-1/+3
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2018-01-10tests: Move torture keys to own fileAndreas Schneider1-0/+36
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>