[Bug 1959488] Re: Error loading key ".../id_ed25519.pub": error in libcrypto
Paride Legovini
1959488 at bugs.launchpad.net
Mon Jan 31 10:17:26 UTC 2022
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
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1959488
Title:
Error loading key ".../id_ed25519.pub": error in libcrypto
Status in openssh package in Ubuntu:
Incomplete
Bug description:
I can't add my ED25519 ssh-key to my ssh-agent. I am getting this
error message:
user at pc:~$ ssh-add ~/.ssh/id_ed25519.pub
Error loading key "/home/user/.ssh/id_ed25519.pub": error in libcrypto
I have setup key agent for KDE like this:
user at pc:~$ cat ~/.config/plasma-workspace/env/ssh-agent.sh
#!/bin/bash
[ -n "$SSH\_AGENT\_PID" ] || eval "$(ssh-agent -s)"
user at pc:~$ cat ~/.config/plasma-workspace/env/ssh-askpass.sh
#!/bin/bash
[ -n "$SSH\_ASKPASS" ] || export SSH\_ASKPASS=/usr/bin/ksshaskpass
user at pcc:~$ cat ~/.config/plasma-workspace/shutdown/ssh-agent-shutdown.sh
#!/bin/bash
[ -z "$SSH\_AGENT\_PID" ] || eval "$(ssh-agent -k)"
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: openssh-client 1:8.7p1-4
Uname: Linux 5.15.0-051500-generic x86_64
ApportVersion: 2.20.11-0ubuntu76
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: KDE
Date: Sat Jan 29 16:43:55 2022
InstallationDate: Installed on 2022-01-21 (7 days ago)
InstallationMedia: Kubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220121)
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
ssh-askpass N/A
libpam-ssh N/A
keychain N/A
ssh-askpass-gnome N/A
SSHClientVersion: OpenSSH_8.7p1 Ubuntu-4, OpenSSL 3.0.1 14 Dec 2021
SourcePackage: openssh
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1959488/+subscriptions
More information about the foundations-bugs
mailing list