Add test coverage for GPG subkeys support. See #317

This commit is contained in:
Alexandre Pujol 2018-08-19 22:53:21 +01:00
parent 7c8067fef3
commit 24fee7a076
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
2 changed files with 10 additions and 0 deletions

View File

@ -32,6 +32,13 @@ test_expect_success 'Testing tomb with GnuPG keys using hidden recipient' '
tt_lock -g -R $KEY1
'
test_export "subkeys"
test_expect_success 'Testing tomb with GnuPG subkeys' '
tt_dig -s 20 &&
tt_forge -g -R $SUBKEY2 &&
tt_lock -g -R $SUBKEY2
'
test_export "shared"
test_expect_success 'Testing tomb with GnuPG keys and shared tomb' '
tt_dig -s 20 &&

View File

@ -60,6 +60,9 @@ unset GPG_AGENT_INFO
export GNUPGHOME="$TEST_HOME/gnupg/"
export KEY1="A4857CD176B31435F9709D25F0E573B8289439CD"
export KEY2="0B2235E660753AB0475FB3E23DC836481F44B31E"
export SUBKEY1="D89BE71A935779961C130E50D9D7ACED39D3991C!"
export SUBKEY2="843077BF7FD4A9C7BBFC3A69F065568B4F7D6CA9!"
chmod 700 "$GNUPGHOME"