[feature] report.ssh_key() formatting in Hosts

Aperta
#1,818 0 commenti 1 reazione 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@jabbate19 ci sta già lavorando.

Dal 23/2/2026.

  • #1883 di @jabbate19 — chiusa senza merge

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug feature Frontend

Is your feature request related to a problem? Please describe.

  • Using report.ssh_key() for private keys in my tome grab_sshkeys always displays it in the hosts tab with no wrapping, causing it to go way off the screen when hidden. I have to scroll all the way to the right just to click the unhide button.

Used with (sample):

content = file.read("/root/.ssh/id_rsa")
report.ssh_key("root", content)
Image
  • Additionally, when viewed, it's not formatted in a generic private ssh key manner. When you copy+paste it into vim for example, it comes out all together separated by spaces instead of in a normal ssh key format. This forces the end user to split it by spaces and format the key themselves, costing time when grabbing many ssh private keys. I shouldn't have to do a bunch of .split()s and string manip to get a key that I can copy from Realm's Hosts tab.
Image
  • When pasted into vim:
Image

Describe the solution you'd like

  1. Wrapping for the Secret tab in Hosts whether content is shown or hidden by asterisks.
  2. Support for formatting ssh keys, whether it be a separate function in eldritch or automatically.
  3. Should be a copy button for credentials that copies them in a way that they can be pasted into a terminal. (ex. pasting an ssh key into vim for use)

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Lingua principale
Rust
Stelle
639
Fork
65
Merge medio
1g 5h
PR unite (30g)
62

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di spellshift/realm

Tutte le issue di spellshift/realm

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.