From 26983eb2c56065ff960ce07353dbb7cbaa1bc75b Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 26 Sep 2012 15:52:49 -0400 Subject: [PATCH] pgp: expect subkey signing in `verify` doctests. Now that pgp-mime-test has a subkey commit 236cc6d2ede3fb9f6b55695115d4246a69489e02 Author: W. Trevor King Date: Thu Sep 20 11:20:36 2012 -0400 test:key: add a subkey to the testing key. Signing and encryption use the new subkey by default. You can still sign/encrypt using the primary key if you use part of the key fingerprint explicitly in the `signers` argument. --- pgp_mime/pgp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pgp_mime/pgp.py b/pgp_mime/pgp.py index fa45bda..c906011 100644 --- a/pgp_mime/pgp.py +++ b/pgp_mime/pgp.py @@ -449,7 +449,7 @@ def verify(message): >>> for s in signatures: ... print(s.dumps()) # doctest: +REPORT_UDIFF ... # doctest: +REPORT_UDIFF, +ELLIPSIS - B2EDBE0E771A4B8708DD16A7511AEDA64332B6E3 signature: + DECC812C8795ADD60538B0CD171008BA2F73DE2E signature: summary: CRL missing: False CRL too old: False @@ -504,7 +504,7 @@ def verify(message): >>> for s in signatures: ... print(s.dumps()) # doctest: +REPORT_UDIFF ... # doctest: +REPORT_UDIFF, +ELLIPSIS - B2EDBE0E771A4B8708DD16A7511AEDA64332B6E3 signature: + DECC812C8795ADD60538B0CD171008BA2F73DE2E signature: summary: CRL missing: False CRL too old: False -- 2.26.2