2 # Check we can retrieve a key by key fingerprint
7 ${BUILDDIR}/onak -b -c $1 add < ${TESTSDIR}/../keys/v5-test.key
8 if ! ${BUILDDIR}/onak -c $1 get 0x19347BC9872464025F99DF3EC2E0000ED9884892E1F7B3EA4C94009159569B54 2> /dev/null | \
9 grep -q -- '-----BEGIN PGP PUBLIC KEY BLOCK-----'; then
10 echo "* Did not correctly retrieve key by fingerprint."