On Tue 2017-07-18 12:15:29 +0000, 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

Attachment: signature.asc
Description: PGP signature

Reply via email to