]> git.cworth.org Git - notmuch/commitdiff
test/crypto: add_gnupg_home should have ultimate trust on "its own" key
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sat, 4 May 2019 21:33:28 +0000 (17:33 -0400)
committerDavid Bremner <david@tethera.net>
Tue, 7 May 2019 09:42:21 +0000 (06:42 -0300)
The typical use case for gpg is that if you control a secret key, you
mark it with "ultimate" ownertrust.

The opaque --import-ownertrust mechanism is GnuPG's standard mechanism
to set up ultimate ownertrust (the ":6:" means "ultimate", for
whatever reason).

We adjust the test suite to match this change, inverting the sense of
one test: since the default is now that the user ID of the suite's own
key is valid, we change the test to make sure that the user ID is not
emitted when it is *not* valid.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>

No differences found