On 09/11/2016 08:52 PM, Daniel Kahn Gillmor wrote: > this command should not cause the pinentry to appear; what command are > you running that actually causes pinentry to appear? what operating > system are you running? are the gnupg packages supplied by the OS or > have you built them by hand?
The command to cause pinentry to appear: gpg2 -o enc.txt -d enc.gpg enc.gpg is a text file encrypted to my key for testing purposes. antony@050415:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.5 LTS Release: 14.04 Codename: trusty gpg2 binary was compiled by hand. > what does the output of the following command show? > > gpg --list-secret-keys 0E98CD22ADB13E99 > > how about: > > gpg --version antony@050415:~$ gpg --list-secret-keys 0E98CD22ADB13E99 sec 4096R/301B1B19 2015-05-06 [expires: 2017-05-05] uid Antony Prince <antony AT blazrsoft.com> uid Antony Prince <aprince AT prestigedelivery.com> uid Antony Prince <aprince AT lasership.com> uid Antony Prince <antony.c.prince AT gmail.com> ssb 4096R/ADB13E99 2015-05-06 [expires: 2017-05-05] NOTE: uids have been altered here. They show correctly in the actual output. antony@050415:~$ gpg --version gpg (GnuPG) 1.4.16 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Home: ~/.gnupg Supported algorithms: Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128, CAMELLIA192, CAMELLIA256 Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224 Compression: Uncompressed, ZIP, ZLIB, BZIP2 > What do you have pinentry-program set to in gpg-agent.conf? antony@050415:~$ cat ~/.gnupg/gpg-agent.conf pinentry-program /etc/alternatives/pinentry antony@050415:~$ /etc/alternatives/pinentry OK Your orders please > If it turns out that gpg is version 1.4, and has access to the secret > key, but 2.1.15 does not, then you can try importing your secret keyring antony@050415:~$ gpg2 --list-secret-keys 0E98CD22ADB13E99 sec rsa4096 2015-05-06 [SC] [expires: 2017-05-05] 591FF17F7A4AA8D0F659C482AF3D4087301B1B19 uid [ultimate] Antony Prince <antony AT blazrsoft.com> uid [ultimate] Antony Prince <aprince AT prestigedelivery.com> uid [ultimate] Antony Prince <aprince AT lasership.com> uid [ultimate] Antony Prince <antony.c.prince AT gmail.com> ssb rsa4096 2015-05-06 [E] [expires: 2017-05-05] -- Antony Prince Key ID: 0xAF3D4087301B1B19 Fingerprint: 591F F17F 7A4A A8D0 F659 C482 AF3D 4087 301B 1B19 URL: http://pool.sks-keyservers.net/pks/lookup?op=get&search=0xAF3D4087301B1B19
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Gnupg-users mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnupg-users
