using master key from usb
Dashamir Hoxha
dashohoxha at gmail.com
Mon Mar 21 04:52:55 CET 2016
Solutions explained by Damien are better than mine. I was not aware of
them. I would recommend one of them.
On Sun, Mar 20, 2016 at 9:51 PM, Me Self <wmsopou at gmail.com> wrote:
> Hi Damian and Dashamir
>
> Those are all great solutions, tnx :)
>
>
> On Sat, Mar 19, 2016 at 7:26 PM, Damien Goutte-Gattat <
> dgouttegattat at incenp.org> wrote:
>
>> On 03/19/2016 01:24 PM, Me Self wrote:
>>
>>> I can use the master key with:
>>> gpg --homedir /media/myusb/gnupg ...
>>>
>>> Now I want to --sign-keys a key that is imported in the keyring on the
>>> harddrive.
>>>
>>
>> You can use the --keyring option to add your normal public keyring
>> (containing the key you want to sign):
>>
>> $ gpg --homedir /media/myusb/gnupg --keyring ~/.gnupg/pubring.gpg ...
>>
>>
>> Is there an easier way to use the master key?
>>>
>>
>> If you’re using GnuPG 2.1, an easy and (IMHO) elegant way is to create a
>> symlink pointing to your master key on the USB stick:
>>
>> $ ln -s /media/myusb/gnupg/private-keys-v1.d/XXXXXXX.key
>> ~/.gnupg/private-keys-v1.d/XXXXXX.key
>>
>> (where XXXXXX is the *keygrip* of your master key, which you can learn
>> with the --with-keygrip option when listing keys).
>>
>> You can then call gpg as usual, without needing to change its home
>> directory. When you are done, just remove the symlink and unmount your USB
>> stick.
>>
>>
>
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20160321/d4d886c9/attachment.html>
More information about the Gnupg-users
mailing list