In http://bugs.debian.org/721599, anarcat wrote: > Actually, monkeysign copies the gpg.conf over to the temporary keyring, > so this should work. > > Can you provide the output of monkeysign --debug to help me reproduce > the problem?
hm, this output is kind of sensitive, because it includes listings of
every private key i control. i've tried to redact it below, but this is
touchy stuff for most people.
i hope this output is useful.
Thanks for working on monkeysign!
--dkg
0 dkg@alice:~$ grep default-key ~/.gnupg/gpg.conf
default-key 0EE5BE979282D80B9F7540F1CCD2ED94D21739E9
0 dkg@alice:~$ monkeysign --debug 0xA2882699B47C6497
command: ['gpg', '--command-fd', '0', '--with-fingerprint', '--list-options',
'show-sig-subpackets,show-uid-validity,show-unusable-uids,show-unusable-subkeys,show-keyring,show-sig-expire',
'--armor', '--status-fd', '2', '--quiet', '--batch', '--fixed-list-mode',
'--no-tty', '--with-colons', '--use-agent', '--export', '0xA2882699B47C6497']
ret: 0 stdout: -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.14 (GNU/Linux)
mI0ETXnCPAEEAMzrlcPAC4oSyd5IKagDMC92VJpQ7pt+5Y7jp17Rg5130vV7dm6Z
VFgdZOtVma6YMmoCiDH7ra2AZdY7xae42DHgbTY/2ZVPJx/aHXRmdLCtbo3/n8Xd
1GCL35V2A3L1CJdjejeQefPrJUQJmkUR/Ir45ZkuFd+OrGGbWKmXCjvbABEBAAG0
KnRlc3QgdXNlciAoRE8gTk9UIFVTRSEpIDx0ZXN0QGV4YW1wbGUubmV0Poi3BBMB
CgAhBQJNecI8AhsDBQsJCAcDBRUKCQgLBRYCAwEAAh4BAheAAAoJEKKIJpm0fGSX
oJkD/0vyyRFhRr2JE7pJLrR/TwpgzGXsu5kjpGt+PFoQ4Bksxt2kfICw8PFmZjOb
jZ5HSPEFuBZ1aZhNgiOCx+jGHkq5ecw/1X//FAmP8iDdxAttNVDfbDIFKly+9k0B
UYEMy4Sr2JfYj49VlQZJIN/FiPcsWxNS99Vol6YHhf5l8f5q
=zjE+
-----END PGP PUBLIC KEY BLOCK-----
stderr:
command: ['gpg', '--command-fd', '0', '--with-fingerprint', '--list-options',
'show-sig-subpackets,show-uid-validity,show-unusable-uids,show-unusable-subkeys,show-keyring,show-sig-expire',
'--status-fd', '2', '--quiet', '--batch', '--fixed-list-mode', '--no-tty',
'--with-colons', '--use-agent', '--secret-keyring',
'/home/dkg/.gnupg/secring.gpg', '--homedir', '/home/dkg/tmp/pygpg-UXcf3_',
'--import']
ret: 0 stdout: stderr: [GNUPG:] IMPORTED A2882699B47C6497 test user (DO NOT
USE!) <[email protected]>
[GNUPG:] IMPORT_OK 1 10CC971BBBB37B9152E8E759A2882699B47C6497
[GNUPG:] IMPORT_RES 1 0 1 1 0 0 0 0 0 0 0 0 0 0
skipped: [GNUPG:] IMPORTED A2882699B47C6497 test user (DO NOT USE!)
<[email protected]>
FOUND: [GNUPG:] IMPORT_OK 1 10CC971BBBB37B9152E8E759A2882699B47C6497
FOUND: [GNUPG:] IMPORT_RES 1 0 1 1 0 0 0 0 0 0 0 0 0 0
command: ['gpg', '--command-fd', '0', '--with-fingerprint', '--list-options',
'show-sig-subpackets,show-uid-validity,show-unusable-uids,show-unusable-subkeys,show-keyring,show-sig-expire',
'--armor', '--status-fd', '2', '--quiet', '--batch', '--fixed-list-mode',
'--no-tty', '--with-colons', '--use-agent', '--list-secret-keys']
ret: 0 stdout: sec::1024:17:76EB6BCA2E29B440:1135124722:1292804722:::::::::
[ SEVERAL SECRET KEYS REDACTED ]
sec::4096:1:CCD2ED94D21739E9:1180812858:1424970931:::::::::
fpr:::::::::0EE5BE979282D80B9F7540F1CCD2ED94D21739E9:
uid:::::::328A5C6C1B2F0891125ECBE4624276B5A2296478::Daniel Kahn Gillmor
<[email protected]>:
uid:::::::867625B137AE05F8579F82DC29B5EAF274386304::Daniel Kahn Gillmor
<[email protected]>:
uid:::::::3E0C4853E2EBEFB75F384D9647E9794584DB9E38::Daniel Kahn Gillmor
<[email protected]>:
uid:::::::B82F5773B5205C849F12FCFB309AF4ACD912445E::Daniel Kahn Gillmor
<[email protected]>:
uid:::::::F5118E19309A256D9C802AF3B8179AC5AA9D04E4::Daniel Kahn Gillmor
<[email protected]>:
ssb::4096:1:C61BD3EC21484CFF:1180815151::::::::::
ssb::2048:1:125868EA4BFA08E4:1213887850::::::::::
ssb::4096:1:A52401B11BFDFA5C:1363121732::::::::::
ssb::2432:1:DC104C4E0CA757FB:1378905793::::::::::
[ A SECRET KEY REDACTED ]
sec::1024:1:FAF286F977F50B3B:1290311929:1290916729:::::::::
fpr:::::::::FCD3E0AFA74EE527C61E0D34FAF286F977F50B3B:
uid:::::::8D72AF8D8E72EF2F35234CEEEA405ADF1CEF4B92::fake user
<[email protected]>:
[ SEVERAL SECRET KEYS REDACTED ]
stderr:
command: ['gpg', '--command-fd', '0', '--with-fingerprint', '--list-options',
'show-sig-subpackets,show-uid-validity,show-unusable-uids,show-unusable-subkeys,show-keyring,show-sig-expire',
'--armor', '--status-fd', '2', '--quiet', '--batch', '--fixed-list-mode',
'--no-tty', '--with-colons', '--use-agent', '--export',
'FCD3E0AFA74EE527C61E0D34FAF286F977F50B3B']
ret: 0 stdout: -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.14 (GNU/Linux)
mI0ETOiY+QEEAKSVytin0iJzcrUH99CBhUGfp0OHaYhLADFGRrEtIwxLkicjnuOf
co/cU3NVEdH/w7iZWzHL79dupbBvvOzvG+/h1xXsiBm0wjq5pdS3tH3zn8eRyjHt
8FprjvIAdHjz0kM49FCe3LHB1uktCW9UgwE1/29A5qyLBmcO+ARW74PfABEBAAG0
HGZha2UgdXNlciA8ZmFrZUBleGFtcGxlLm9yZz6IvQQTAQoAJwUCTOiY+QIbAwUJ
AAk6gAULCQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRD68ob5d/ULOz9BBACdYgGu
76x0BU1njWipxuZnIPIN8SlJbNo6p9YZnK0Y2bEa84DF5zSH1IV7D1vwWYuJWJvB
pQBvoyXK0Xdn8g1EKhLYojr6JHcODmMGbB0QOBB8W2ofyYkix33ZeqCWLC+tvzot
KGGPZahTusrAw4hnvcZjh34DCYIgQLXuDeeCCw==
=Uy4v
-----END PGP PUBLIC KEY BLOCK-----
stderr:
command: ['gpg', '--command-fd', '0', '--with-fingerprint', '--list-options',
'show-sig-subpackets,show-uid-validity,show-unusable-uids,show-unusable-subkeys,show-keyring,show-sig-expire',
'--status-fd', '2', '--quiet', '--batch', '--fixed-list-mode', '--no-tty',
'--with-colons', '--use-agent', '--secret-keyring',
'/home/dkg/.gnupg/secring.gpg', '--homedir', '/home/dkg/tmp/pygpg-UXcf3_',
'--import']
ret: 0 stdout: stderr: [GNUPG:] IMPORTED FAF286F977F50B3B fake user
<[email protected]>
[GNUPG:] IMPORT_OK 1 FCD3E0AFA74EE527C61E0D34FAF286F977F50B3B
[GNUPG:] IMPORT_RES 1 0 1 1 0 0 0 0 0 0 0 0 0 0
skipped: [GNUPG:] IMPORTED FAF286F977F50B3B fake user <[email protected]>
FOUND: [GNUPG:] IMPORT_OK 1 FCD3E0AFA74EE527C61E0D34FAF286F977F50B3B
FOUND: [GNUPG:] IMPORT_RES 1 0 1 1 0 0 0 0 0 0 0 0 0 0
Preparing to sign with this key
pub [unknown] 1024R/77F50B3B 1290311929 [expiry: 1290916729]
Fingerprint = FCD3 E0AF A74E E527 C61E 0D34 FAF2 86F9 77F5 0B3B
uid 1 [unknown] fake user <[email protected]>
command: ['gpg', '--command-fd', '0', '--with-fingerprint', '--list-options',
'show-sig-subpackets,show-uid-validity,show-unusable-uids,show-unusable-subkeys,show-keyring,show-sig-expire',
'--status-fd', '2', '--quiet', '--batch', '--fixed-list-mode', '--no-tty',
'--with-colons', '--use-agent', '--secret-keyring',
'/home/dkg/.gnupg/secring.gpg', '--homedir', '/home/dkg/tmp/pygpg-UXcf3_',
'--list-keys', '0xA2882699B47C6497']
ret: 0 stdout: tru::1:1380647337:0:3:1:5
pub:-:1024:1:A2882699B47C6497:1299825212:::-:::scSC:
fpr:::::::::10CC971BBBB37B9152E8E759A2882699B47C6497:
uid:-::::1299825212::6A8214E4D72364087809F511D43D7D2E6C352963::test user (DO
NOT USE!) <[email protected]>:
stderr:
Signing the following key
pub [unknown] 1024R/B47C6497 1299825212
Fingerprint = 10CC 971B BBB3 7B91 52E8 E759 A288 2699 B47C 6497
uid 1 [unknown] test user (DO NOT USE!) <[email protected]>
Sign all identities? [y/N]
Choose the identity to sign (1-1 or full UID, control-c to abort): ^Cno key
signed, nothing to export
0 dkg@alice:~$
pgphZBJya6jBL.pgp
Description: PGP signature

