Bug#833752: hopenpgp-tools: cannot use GNUPGHOME env to specify gpg home directory

Roger Shimizu rogershimizu at gmail.com
Fri Aug 12 02:32:59 UTC 2016


On Fri, Aug 12, 2016 at 2:04 AM, Clint Adams <clint at debian.org> wrote:
> On Mon, Aug 08, 2016 at 10:02:40PM +0900, Roger Shimizu wrote:
>> I have more than one GPG keys stores in different folders.
>> Usually, I run gpg or gpg2 command by:
>>  GNUPGHOME=/path/to/gpg/home/ gpg <GPG params..>
>>
>> But I failed this practice by:
>>  GNUPGHOME=/path/to/gpg/home/ hkt <hkt params..>
>>
>> And I cannot find the param to specify GPG home directory in "hkt --help"
>>
>> Please help to explain how to use, if already implemented; or add this
>> new feature if it's not available yet.
>
> It looks like the help output for `hkt findpaths` is working but
> not for the other hkt subcommands.
>
> The way you can specify a non-default keyring is with --keyring,
> such as
>
>     hkt list --keyring /usr/share/keyrings/debian-role-keys.gpg
>
> At present the only environment variable hkt cares about is HOME.
>
> I'll try to figure out what's going on with the help output.

Thanks for the fix!

A bit wishlist style suggestion.
I maintain a package that I created manpages from --help output by
using "help2man" command.
You can take a look at it:
- https://github.com/rogers0/libcorkipset/blob/debian/debian/rules

Cheers,
-- 
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 4096R/6C6ACD6417B3ACB1

On Fri, Aug 12, 2016 at 2:04 AM, Clint Adams <clint at debian.org> wrote:
> On Mon, Aug 08, 2016 at 10:02:40PM +0900, Roger Shimizu wrote:
>> I have more than one GPG keys stores in different folders.
>> Usually, I run gpg or gpg2 command by:
>>  GNUPGHOME=/path/to/gpg/home/ gpg <GPG params..>
>>
>> But I failed this practice by:
>>  GNUPGHOME=/path/to/gpg/home/ hkt <hkt params..>
>>
>> And I cannot find the param to specify GPG home directory in "hkt --help"
>>
>> Please help to explain how to use, if already implemented; or add this
>> new feature if it's not available yet.
>
> It looks like the help output for `hkt findpaths` is working but
> not for the other hkt subcommands.
>
> The way you can specify a non-default keyring is with --keyring,
> such as
>
>     hkt list --keyring /usr/share/keyrings/debian-role-keys.gpg
>
> At present the only environment variable hkt cares about is HOME.
>
> I'll try to figure out what's going on with the help output.



-- 
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 4096R/6C6ACD6417B3ACB1



More information about the Pkg-haskell-maintainers mailing list