On Wed, May 01, 2024 at 04:32:54PM +0200, Matthias Apitz wrote:
> 
> Hello,
> 
> I've on my Linux cellphone L5 my RSA key for SSH crypted with GnuPG (to
> be exactly with an OpenPGP card in the phone). I can do fine:
> 
> $ gpg -d id_rsa.asc > id_rsa  # which asks for the PIN of the OpenPGP card
> $ ssh www.unixarea.de
> Enter passphrase for key '/home/guru/.ssh/id_rsa':
> ...
> $ rm id_rsa # so it can't get lost of teft of the L5
> 
> Is there some other solution for GnuPG+SSH without writing the private
> key id_rsa to a file? Or even better as well without the need of
> entering the passphrase for the RSA key?
> 

Well, if you have a authentication subkey on your card you could use that
for ssh authentication directly.
Your gpg-agent would then act as ssh-agent.

That might be a better way to handle this.

-H

-- 
Henning Follmann           | hfollm...@itcfollmann.com


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

Reply via email to