]> git.notmuchmail.org Git - notmuch/blobdiff - test/test-lib.sh
test/crypto: add_gnupg_home should have ultimate trust on "its own" key
[notmuch] / test / test-lib.sh
index b89da572e439f57a9c813659b1c7a3c3d8522684..54247a57c154ab234fd5779aedf40b0da823cbdd 100644 (file)
@@ -121,6 +121,7 @@ add_gnupg_home ()
     # Change this if we ship a new test key
     FINGERPRINT="5AEAB11F5E33DCE875DDB75B6D92612D94E46381"
     SELF_USERID="Notmuch Test Suite <test_suite@notmuchmail.org> (INSECURE!)"
+    printf '%s:6:\n' "$FINGERPRINT" | gpg --quiet --batch --no-tty --import-ownertrust
 }
 
 # Each test should start with something like this, after copyright notices: