keepassxreboot / keepassxc-browser

KeePassXC Browser Extension
GNU General Public License v3.0
1.78k stars 188 forks source link

Autofill for SSH key fields #1812

Open Trevinlc1997 opened 1 year ago

Trevinlc1997 commented 1 year ago

Expected Behavior

If there is a field where you can type in a raw SSH key, the browser extension should look for SSH keys in your database to auto-fill or give the option to create a new ssh key pair and store in the database.

Current Behavior

Looks like it currently doesn't support this feature, at least not for Proxmox.

Possible Solution

Autofill SSH public keys into fields that are detected as SSH. The snippet below shows, basically just copy the functionality of how 1Password treats SSH keys. image

Debug info

KeePassXC - 2.7.4 KeePassXC-Browser - 1.8.4 Operating system: Win 11 Browser: Firefox

varjolintu commented 1 year ago

Does SSH keys have some HTML standard for input fields, or how those are handled? Currently we don't have any "global" data you can just fill for all entries. This issue is probably where this belongs to: https://github.com/keepassxreboot/keepassxc/issues/8228