rpi-imager icon indicating copy to clipboard operation
rpi-imager copied to clipboard

Add file open dialog for SSH public key

Open CharlesGodwin opened this issue 2 years ago • 3 comments

Issue #326 talks about a request existing somewhere to allow file open to select public key. I searched and couldn't find it. I'd like this too. I suggest a file open dialog box and you can point on the .pub file, or the private key file, and the imager would copy and paste the public key.

This is a lot simpler than copy and past of the printed key.

CharlesGodwin avatar Apr 10 '22 15:04 CharlesGodwin

This is a lot simpler than copy and past of the printed key.

Note that doing so is only needed if you are using a non-standard SSH client.

Imager puts the contents of ~/.ssh/id_rsa.pub in the field automatically, which is the default location where ssh-keygen stores the public key.

maxnet avatar Apr 10 '22 20:04 maxnet

I know that but I, and I'm sure there are others, use more than one key, depending on the device, that's when point and click would help.

This is an ask, not a must do.

CharlesGodwin avatar Apr 10 '22 21:04 CharlesGodwin

Tagging for 2.0.

Identity selection is a complicated topic - it's not even clear we should always use a public key as stored on disk, over for example one kept in Secretive on macOS.

I can't say we'll look at it imminently, but I'm going to keep it open for consideration in the 2.x series of releases.

tdewey-rpi avatar Feb 06 '24 16:02 tdewey-rpi