[PATCH] test: add_gnupg_home should have ultimate trust on "its own" key

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Apr 24 15:13:31 PDT 2019


On Wed 2019-04-24 18:06:44 -0400, Daniel Kahn Gillmor wrote:
> The typical use case for gpg is that if you control a secret key, you
> mark it with "ultimate" ownertrust.
>
> This bizarrely opaque --import-ownertrust mechanism is GnuPG's
> standard mechanism to set up ultimate ownertrust (the ":6" means
> "ultimate", for whatever reason).
> ---
>  test/test-lib.sh | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/test/test-lib.sh b/test/test-lib.sh
> index 58909ee7..6e383c85 100644
> --- a/test/test-lib.sh
> +++ b/test/test-lib.sh
> @@ -120,6 +120,7 @@ add_gnupg_home ()
>  
>      # Change this if we ship a new test key
>      FINGERPRINT="5AEAB11F5E33DCE875DDB75B6D92612D94E46381"
> +    printf '%s:6\n' "$FINGERPRINT" | gpg --import-trustdb

sigh.  this should of course be "--import-ownertrust", not
"--import-trustdb".  i'll send a fixed patch shortly.  Sorry for the
noise.

       --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20190424/072cd119/attachment.sig>


More information about the notmuch mailing list