Skip to content

ssh agent integration doesnt add ed25519 keys #2102

@kniteli

Description

@kniteli

I'm on Arch Linux with OpenSSH. I'm having no problem getting RSA keys added to ssh-agent correctly, but ed25519 keys silently fail on open, and when I manually click the "add to agent" button it fails to decrypt. If I physically copy paste the key it decrypts, so it's not an issue there.

Expected Behavior

ed25519 key should be added to ssh-agent on opening database

Current Behavior

Keepassxc doesn't add key to ssh-agent, nor does it mention anything about failing to decrypt unless I manually press "add to agent" button. In neither case is the key added to ssh-agent despite the passphrase being correct.

Steps to Reproduce (for bugs)

  1. Generate key: ssh-keygen -a 100 -t ed25519
  2. Use keepassxc to generate the password, use special characters + extended ASCII
  3. Add key and password to database entry with "add to agent on database open" and "remove from agent on database close" checked (no others).

Context

Just trying out modern algos, I'll probably just stick with RSA until this is resolved.

Debug Info

KeePassXC - Version 2.3.3
Revision: 0a155d8

Libraries:

  • Qt 5.11.1
  • libgcrypt 1.8.3

Operating system: Arch Linux
CPU architecture: x86_64
Kernel: linux 4.17.4-1-ARCH

Enabled extensions:

  • Auto-Type
  • Browser Integration
  • Legacy Browser Integration (KeePassHTTP)
  • SSH Agent
  • YubiKey

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions