'ssh-add -l' doesn't list the key email/comment (unlike gnome-keyring's agent used to)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssh (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Updated today, it moved from
2018-03-26 08:11:25 upgrade gnome-keyring:amd64 3.27.4-2ubuntu1 3.28.0.1-1ubuntu1
to
2018-03-26 08:14:34 status installed gnome-keyring:amd64 3.28.0.1-1ubuntu1
After this, noticed that some local code that uses ssh key comments (from 'ssh-add -l' output) for automatic annotations is no longer working right.
Previously (example from 16.04):
nneul@skyhawk:~ $ ssh-add -l
2048 SHA256:...... <email address hidden> (RSA)
Now (from current 18):
nneul@infinity:~ $ ssh-add -l
2048 SHA256:...... /users/
This is a negative change from my perspective as we are making use of that comment for automatic annotations (not security sensitive) and things like automatically populating git identity when managing a shared application development/server accounts.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: gnome-keyring 3.28.0.1-1ubuntu1
ProcVersionSign
Uname: Linux 4.13.0-17-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu1
Architecture: amd64
CurrentDesktop: XFCE
Date: Mon Mar 26 08:51:30 2018
InstallationDate: Installed on 2015-11-09 (867 days ago)
InstallationMedia: Ubuntu-Server 15.10 "Wily Werewolf" - Release amd64 (20151021)
SourcePackage: gnome-keyring
UpgradeStatus: Upgraded to bionic on 2017-12-05 (110 days ago)
summary: |
- 'ssh-add -l' doesn't like the key email/comment (unlike gnome-keyring's + 'ssh-add -l' doesn't list the key email/comment (unlike gnome-keyring's agent used to) |
Workaround appears to be 'ssh-add -d' to remove the dynamically added identities - it then seems to reload from identity file and includes the key comment.