mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-12-01 17:23:58 +00:00
Add test coverage for GPG subkeys support. See #317
This commit is contained in:
parent
7c8067fef3
commit
24fee7a076
@ -32,6 +32,13 @@ test_expect_success 'Testing tomb with GnuPG keys using hidden recipient' '
|
|||||||
tt_lock -g -R $KEY1
|
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_export "shared"
|
||||||
test_expect_success 'Testing tomb with GnuPG keys and shared tomb' '
|
test_expect_success 'Testing tomb with GnuPG keys and shared tomb' '
|
||||||
tt_dig -s 20 &&
|
tt_dig -s 20 &&
|
||||||
|
@ -60,6 +60,9 @@ unset GPG_AGENT_INFO
|
|||||||
export GNUPGHOME="$TEST_HOME/gnupg/"
|
export GNUPGHOME="$TEST_HOME/gnupg/"
|
||||||
export KEY1="A4857CD176B31435F9709D25F0E573B8289439CD"
|
export KEY1="A4857CD176B31435F9709D25F0E573B8289439CD"
|
||||||
export KEY2="0B2235E660753AB0475FB3E23DC836481F44B31E"
|
export KEY2="0B2235E660753AB0475FB3E23DC836481F44B31E"
|
||||||
|
export SUBKEY1="D89BE71A935779961C130E50D9D7ACED39D3991C!"
|
||||||
|
export SUBKEY2="843077BF7FD4A9C7BBFC3A69F065568B4F7D6CA9!"
|
||||||
|
|
||||||
chmod 700 "$GNUPGHOME"
|
chmod 700 "$GNUPGHOME"
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user