Bug#868769: hkt tries to open pubring.gpg which does not exist in gnupg >= 2.1
On Thu, Sep 07, 2017 at 02:15:22PM -0400, Daniel Kahn Gillmor wrote: > Is there any reason why hkt should try to use something in the GnuPG > homedir? No, there is no such reason. > Shouldn't hkt prefer an explicitly-named OpenPGP keyring instead? GnuPG > upstream generally doesn't want users poking around in its homedir, and > prefers users to use its documented export and import interfaces. Or some other default value, yet to be specified.
Bug#868769: hkt tries to open pubring.gpg which does not exist in gnupg >= 2.1
On Tue 2017-07-18 12:15:29 +, Clint Adams wrote: > On Tue, Jul 18, 2017 at 03:43:52AM -0700, Cody Brownstein wrote: >> gnupgp versions 2.1 and higher store public (and private) keys in keybox >> format in ~/.gnupg/pubring.kbx >> >> hkt tries to open ~/.gnupg/pubring.gpg which is correct for gnupg >> versions lower than 2.1 >> >> Because hkt tries to open ~/.gnupg/pubring.gpg which does not exist, hkt >> fails with the following error: >> >> amnesia@amnesia:~$ hkt export-pubkeys 0x9BB25A1A5C1D9108 >> hkt (hopenpgp-tools) 0.19.4 >> Copyright (C) 2012-2016 Clint Adams >> hkt comes with ABSOLUTELY NO WARRANTY. This is free software, and you >> are welcome to redistribute it under certain conditions. >> hkt: /home/amnesia/.gnupg/pubring.gpg: openBinaryFile: does not exist >> (No such file or directory) > > This is true; hOpenPGP has no concept of keybox format, at least for > now. Is there any reason why hkt should try to use something in the GnuPG homedir? Shouldn't hkt prefer an explicitly-named OpenPGP keyring instead? GnuPG upstream generally doesn't want users poking around in its homedir, and prefers users to use its documented export and import interfaces. --dkg signature.asc Description: PGP signature
Bug#868769: hkt tries to open pubring.gpg which does not exist in gnupg >= 2.1
On Tue, Jul 18, 2017 at 03:43:52AM -0700, Cody Brownstein wrote: > gnupgp versions 2.1 and higher store public (and private) keys in keybox > format in ~/.gnupg/pubring.kbx > > hkt tries to open ~/.gnupg/pubring.gpg which is correct for gnupg > versions lower than 2.1 > > Because hkt tries to open ~/.gnupg/pubring.gpg which does not exist, hkt > fails with the following error: > > amnesia@amnesia:~$ hkt export-pubkeys 0x9BB25A1A5C1D9108 > hkt (hopenpgp-tools) 0.19.4 > Copyright (C) 2012-2016 Clint Adams > hkt comes with ABSOLUTELY NO WARRANTY. This is free software, and you > are welcome to redistribute it under certain conditions. > hkt: /home/amnesia/.gnupg/pubring.gpg: openBinaryFile: does not exist > (No such file or directory) This is true; hOpenPGP has no concept of keybox format, at least for now.
Bug#868769: hkt tries to open pubring.gpg which does not exist in gnupg >= 2.1
Package: hopenpgp-tools Version: 0.19.4-3 gnupgp versions 2.1 and higher store public (and private) keys in keybox format in ~/.gnupg/pubring.kbx hkt tries to open ~/.gnupg/pubring.gpg which is correct for gnupg versions lower than 2.1 Because hkt tries to open ~/.gnupg/pubring.gpg which does not exist, hkt fails with the following error: amnesia@amnesia:~$ hkt export-pubkeys 0x9BB25A1A5C1D9108 hkt (hopenpgp-tools) 0.19.4 Copyright (C) 2012-2016 Clint Adams hkt comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. hkt: /home/amnesia/.gnupg/pubring.gpg: openBinaryFile: does not exist (No such file or directory)