Re: Homedir & scdaemon

2017-03-28 Thread NIIBE Yutaka
Hello,

Sorry, I should have offer more information.

Adam Sherman  wrote:
> That does not appear to be the case:
>
> scdaemon (GnuPG) 2.1.11
> libgcrypt 1.6.5
> libksba 1.3.3-unknown

Umm... it is better to have libgcrypt 1.7 for GnuPG.

Specifically, it was fixed by following commits.

-
8b6c0bae33bdc36892f4595806665ce61f77dfd2
Author: NIIBE Yutaka 
CommitDate: Fri Sep 2 13:41:19 2016 +0900

agent: invoke scdaemon with --homedir.
-
4e41745b3ea3bb8ffc50af6bafeb1de9c928812f
Author: Werner Koch 
CommitDate: Fri Jun 17 08:36:07 2016 +0200

scd: Make option --homedir work.
-

I confirmed that --homedir works fine with 2.1.16 and later.
-- 

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Homedir & scdaemon

2017-03-28 Thread Adam Sherman
On 2017-03-27 07:24 PM, NIIBE Yutaka wrote:
> Adam Sherman  wrote:
>> But, scdaemon seems more stubborn, and doesn't respect gpg2's homedir
>> option. And trying to start it manually, beforehand, with the --homedir
>> option, fails with:
> For your information, this is fixed in 2.1.  If you will have a chance,
> please try version 2.1.

That does not appear to be the case:

scdaemon (GnuPG) 2.1.11
libgcrypt 1.6.5
libksba 1.3.3-unknown

Thanks,

A.

-- 
Adam Sherman 

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Homedir & scdaemon

2017-03-27 Thread NIIBE Yutaka
Adam Sherman  wrote:
> But, scdaemon seems more stubborn, and doesn't respect gpg2's homedir
> option. And trying to start it manually, beforehand, with the --homedir
> option, fails with:

For your information, this is fixed in 2.1.  If you will have a chance,
please try version 2.1.
-- 

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Homedir & scdaemon

2017-03-27 Thread Adam Sherman
Hello,

I would like to be able to do the occasional operation from an alternate
home directory. And I'm using a SmartCard.

So, gpg2 itself has the --homedir option, which works. But you need to
kill existing agents before hand, or things get confusing.

But, scdaemon seems more stubborn, and doesn't respect gpg2's homedir
option. And trying to start it manually, beforehand, with the --homedir
option, fails with:

$ /usr/lib/gnupg2/scdaemon -v --homedir /media/asherman/TailsData/gnupg/
scdaemon[5944]: invalid option "--homedir"

Any tips? Or is there a much better way to keep some of my secret keys
offline?

A.






signature.asc
Description: OpenPGP digital signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users