On Sun, 11 Sep 2016 15:46:58 +0200, Guilhem Moulin
<guil...@guilhem.org> wrote:

> Still, I can't reproduce this.  Could you try to pass ‘--debug-level
>  basic’ to the recv-key command?

I patched caff with the diff file you suggested, but the output is
still the same, hence not even additional debugging information (see
attached txt file).

> If this doesn't produce anything useful, could you also enable debug
> output for dirmngr?  For instance by adding
> 
>     debug-level basic
>     log-file /run/user/1000/dirmngr.log
> 
> to ~/.gnupg/dirmngr.conf.

I also added these two lines, but when I run caff (or gpg manually)
this logfile is not created at all.

Best regards,
Marcus
-- 
RWTH Aachen University, Institute of Organic Chemistry,
Landoltweg 1, 52074 Aachen, Germany

GPG key: 6C3458EE737CE22C0EF9FA3BE88FEBBE202CE599 (ed25519, preferred)
GPG key: 0138DA92EDFFB27DD270F86DB475E207BAB58229 (dsa1024, disfavoured)
My patched caff:

$ /tmp/local-caff/caff --debug 39278DA8109E6244
[NOTICE] Importing GnuPG options from ~/.gnupg/gpg.conf:
[NOTICE]     use-agent
[NOTICE]     keyserver hkps://hkps.pool.sks-keyservers.net
[NOTICE]     keyserver-options no-honor-keyserver-url
[NOTICE]     keyserver-options include-revoked
[NOTICE]     no-greeting
[NOTICE]     ask-cert-level
[NOTICE]     set-policy-url http://www.gothgoose.net/pgp/
[NOTICE]     personal-cipher-preferences AES256 AES192 AES CAST5
[NOTICE]     personal-digest-preferences SHA512 SHA384 SHA256 SHA224
[NOTICE]     cert-digest-algo SHA512
[DEBUG] gpg (GnuPG) 2.1.15
[DEBUG] Creating symlink /home/marcus/.caff/gnupghome/S.dirmngr to 
/run/user/1000/gnupg/S.dirmngr
[DEBUG] Creating symlink /home/marcus/.caff/gnupghome/S.gpg-agent to 
/run/user/1000/gnupg/S.gpg-agent
[DEBUG] Exporting key(s) 
E88FEBBE202CE599,B475E207BAB58229,948FD6A0E10F502E,7A0685421E899042 from your 
normal GnuPGHOME to /home/marcus/.caff/gnupghome
[DEBUG] gpg --batch --no-tty --trust-model=always --no-autostart 
--no-auto-check-trustdb ...
[DEBUG] stdin: <&=4, stdout: IO::Handle=GLOB(0x2a88958)
[DEBUG] gpg --batch --no-tty --homedir /home/marcus/.caff/gnupghome --quiet 
--trust-model=always --no-options --use-agent 
--keyserver=hkps://hkps.pool.sks-keyservers.net 
--keyserver-options=no-honor-keyserver-url --keyserver-options=include-revoked 
--no-greeting --ask-cert-level --set-policy-url=http://www.gothgoose.net/pgp/ 
--personal-cipher-preferences=AES256 AES192 AES CAST5 
--personal-digest-preferences=SHA512 SHA384 SHA256 SHA224 
--cert-digest-algo=SHA512 --no-autostart --no-auto-check-trustdb ...
[DEBUG] status: IO::Handle=GLOB(0x2afa730), stdin: 5, stdout: >&=4
[DEBUG] Imported 0138DA92EDFFB27DD270F86DB475E207BAB58229 for B475E207BAB58229
[INFO] Key B475E207BAB58229 not changed
[DEBUG] Imported 53FC5A8727BE1D30FEB4861A948FD6A0E10F502E for 948FD6A0E10F502E
[INFO] Key 948FD6A0E10F502E not changed
[DEBUG] Imported 69E1EE07F7A6AA8E4A777B2A7A0685421E899042 for 7A0685421E899042
[INFO] Key 7A0685421E899042 not changed
[DEBUG] Imported 6C3458EE737CE22C0EF9FA3BE88FEBBE202CE599 for E88FEBBE202CE599
[INFO] Key E88FEBBE202CE599 not changed
[DEBUG] Exporting key(s) 
E88FEBBE202CE599,B475E207BAB58229,948FD6A0E10F502E,7A0685421E899042 from your 
normal GnuPGHOME to /home/marcus/.caff/gnupghome
[DEBUG] gpg --batch --no-tty --trust-model=always --no-autostart 
--no-auto-check-trustdb --no-autostart --no-auto-check-trustdb ...
[DEBUG] stdin: <&=4, stdout: IO::Handle=GLOB(0xaed0e8)
[DEBUG] gpg --batch --no-tty --homedir /home/marcus/.caff/gnupghome --quiet 
--trust-model=always --no-options --use-agent 
--keyserver=hkps://hkps.pool.sks-keyservers.net 
--keyserver-options=no-honor-keyserver-url --keyserver-options=include-revoked 
--no-greeting --ask-cert-level --set-policy-url=http://www.gothgoose.net/pgp/ 
--personal-cipher-preferences=AES256 AES192 AES CAST5 
--personal-digest-preferences=SHA512 SHA384 SHA256 SHA224 
--cert-digest-algo=SHA512 --no-autostart --no-auto-check-trustdb ...
[DEBUG] status: IO::Handle=GLOB(0x2c43818), stdin: 5, stdout: >&=4
[DEBUG] Imported 0138DA92EDFFB27DD270F86DB475E207BAB58229 for B475E207BAB58229
[INFO] Key B475E207BAB58229 not changed
[DEBUG] Imported 53FC5A8727BE1D30FEB4861A948FD6A0E10F502E for 948FD6A0E10F502E
[INFO] Key 948FD6A0E10F502E not changed
[DEBUG] Imported 69E1EE07F7A6AA8E4A777B2A7A0685421E899042 for 7A0685421E899042
[INFO] Key 7A0685421E899042 not changed
[DEBUG] Imported 6C3458EE737CE22C0EF9FA3BE88FEBBE202CE599 for E88FEBBE202CE599
[INFO] Key E88FEBBE202CE599 not changed
[DEBUG] gpg --batch --no-tty --homedir /home/marcus/.caff/gnupghome 
--trust-model=always --no-options --use-agent 
--keyserver=hkps://hkps.pool.sks-keyservers.net 
--keyserver-options=no-honor-keyserver-url --keyserver-options=include-revoked 
--no-greeting --ask-cert-level --set-policy-url=http://www.gothgoose.net/pgp/ 
--personal-cipher-preferences=AES256 AES192 AES CAST5 
--personal-digest-preferences=SHA512 SHA384 SHA256 SHA224 
--cert-digest-algo=SHA512 --no-autostart --no-auto-check-trustdb 
--with-fingerprint --with-colons ...
[DEBUG] stdin: <&=4, stdout: IO::Handle=GLOB(0x2afa3d0)
gpg: error reading key: No public key
[WARN] gpg exited with value 2
[WARN] No public keys found with list-key 39278DA8109E6244 (note that caff uses 
its own keyring in /home/marcus/.caff/gnupghome)
[NOTICE] No keys to sign found

Just a local test in the terminal:

$ gpg --debug-level basic --recv-keys 39278DA8109E6244
gpg: enabled debug flags: memstat
gpg: key 0x39278DA8109E6244: "Guilhem Moulin" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
gpg: random usage: poolsize=600 mixed=0 polls=0/0 added=0/0
              outmix=0 getlvl1=0/0 getlvl2=0/0
gpg: secmem usage: 0/65536 bytes in 0 blocks

Attachment: pgpQCPHKyL3ku.pgp
Description: OpenPGP digital signature

Reply via email to