Travis: test openpgp key generation

This commit is contained in:
Frank Morgner 2019-08-22 15:45:22 +02:00
parent a1d3e76999
commit b5b0991ec0
1 changed files with 3 additions and 0 deletions

View File

@ -246,6 +246,9 @@ script:
sleep 5;
opensc-tool --card-driver default --send-apdu 80b800002210D276000124010200000000000001000010D276000124010200000000000001000000;
opensc-tool -n;
# FIXME decryption with key 3 currently fails
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;
pkcs11-tool -l -t -p 123456;
killall java;