Using a GnuPG crypted RSA key for SSH

Christian C. x10an14 at gmail.com
Wed May 1 17:29:45 CEST 2024


Smart cards like yubikeys, and termux okcagent integrations?

_ _
Med vennlig hilsen/Kind regards,
Christian C.
Phone/Tlf: +47 922 22 603
(Sent from my smartphone device)

On Wed, 1 May 2024, 17:19 Matthias Apitz, <guru at unixarea.de> 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?
>
> Thanks
>
>         matthias
>
> --
> Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/
> +49-176-38902045
> Public GnuPG key: http://www.unixarea.de/key.pub
>
> I am not at war with Russia.
> Я не воюю с Россией.
> Ich bin nicht im Krieg mit Russland.
>
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> https://lists.gnupg.org/mailman/listinfo/gnupg-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20240501/aa0c886b/attachment.html>


More information about the Gnupg-users mailing list