Hello Thomas and thanks for your bug report. I have no problems adding ed25519 keys to ssh-agent on a Jammy system. Could you please try the following steps, which may help identifying where the problem is? Thanks!
$ mkdir /tmp/ed25519test $ cd /tmp/ed25519test $ echo $SSH_AUTH_SOCK /run/user/1000/openssh_agent $ ssh-keygen -t ed25519 -C foobar -P '' -f ./test Generating public/private ed25519 key pair. Your identification has been saved in ./test Your public key has been saved in ./test.pub The key fingerprint is: SHA256:EFUY6Ke0diCIoFQjCvhiUBzondDLMidZN4/bzkt1X6I foobar The key's randomart image is: [...] $ cat test.pub ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEqKBt+j+61A9GtPaA9RLEEHxBQpAgvUSkjpqlRpVXOh foobar $ ssh-add ./test Identity added: ./test (foobar) $ ssh-add -L | grep foobar ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEqKBt+j+61A9GtPaA9RLEEHxBQpAgvUSkjpqlRpVXOh foobar ** Changed in: openssh (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1959488 Title: Error loading key ".../id_ed25519.pub": error in libcrypto To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1959488/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs