Skip to content

[BUG]: Can't paste ssh key into custom config section #1226

@ali1234

Description

@ali1234

What happened?

To reproduce:

  1. Open ~/.ssh/authoized_keys and copy the key line
  2. Try to paste it into rpi-imager

Expected result:

The key is pasted.

Actual result:

Nothing happens.

I tried to copy in the following ways:

  1. Selecting the text in the terminal.
  2. Opening in a text editor, selecting the line, then edit->copy and/or pressing ctrl-c.

I tried to paste it in the following ways:

  1. Pressing middle mouse button.
  2. Pressing ctrl-v
  3. Right clicking, and then clicking paste.

Additionally I tried running rpi-imager in the following ways:

  1. Under RPi OS desktop (Wayland)
  2. Using ssh -X to run it on my desktop PC (Xubuntu, running Xorg)

I was not able to paste into the text box using any combination of the above. Meaning the only way to enter a key is to carefully type the whole thing manually. I verifie that the text was correctly copied by pasting it into various other applications with no problems under any of the above scenarios.

PS 1.9.4 is the latest version currently available on apt, and clicking "yes" on the update message when you run it does nothing.

Version

1.9.4

What host operating system were you using?

Debian and derivatives (eg Ubuntu)

Host OS Version

RPi OS 64 bit

Selected OS

RPi OS Lite 64 bit

Which Raspberry Pi Device are you using?

Raspberry Pi 5, 500, and Compute Modules 5

What kind of storage device are you using?

NVMe SSD via Third-party PCIe attachment

OS Customisation

  • Yes, I was using OS Customisation when the bug occurred.

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions