> On 18 Feb 2019, at 05:19, Farhan Khan via Gnupg-users <gnupg-users@gnupg.org> 
> wrote:
> 
> How does one utilize *just* the yubikey (or OpenPGP smartcard in general) to
> encrypt, sign, or decrypt? This might be in a scenario where I only have the
> keys on my card but not on disk such as while traveling. I can confirm that
> 'gpg --card-status' lists the keys as present.
> 
> I am simulating this scenario by moving ~/.gnupg to another directory, but
> running 'gpg --list-keys' does not list the list the key as present.

You need to download the public key of the secret keys you are about to use, 
and then run `gpg --card-status` again. After that it Should Just Work.

A

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

Reply via email to