Add key import of ecc key to openpgp Travis tests

This commit is contained in:
alex-nitrokey 2020-03-19 13:33:12 +01:00
parent 0ba44cbec6
commit 1e7e6e11a4
No known key found for this signature in database
GPG Key ID: A8853020E8EE6FBA
1 changed files with 2 additions and 0 deletions

View File

@ -248,6 +248,8 @@ script:
opensc-tool -n;
openpgp-tool --verify CHV3 --pin 12345678 --gen-key 2;
pkcs15-init --verify --auth-id 3 --pin 12345678 --delete-objects privkey,pubkey --id 2 --generate-key rsa/2048;
openssl ecparam -genkey -name "brainpoolP384r1" -out myec.key.pem;
pkcs15-init --delete-objects privkey,pubkey --id 3 --store-private-key myec.key.pem --auth-id 3 --verify-pin --id 3;
pkcs11-tool -l -t -p 123456;
killall java;