The T5996 introduced semantic changes how the ssh keys are returned. Previously, the order was determined by the order of keys in the control file, now they are sorted by keygrip fingerprint (as the control file is only consulted after the key is read from file?). This is a regression as the SSH relies on the order of the keys returned and tries them in this order, unless overridden with IdentitiesOnly and IdentityFile options.
Description
Description
Details
Details
- External Link
- https://bugzilla.redhat.com/show_bug.cgi?id=2119247
- Version
- master, 2.3.6
Revisions and Commits
Revisions and Commits
rG GnuPG | |||
rG98b8c518fa0b ssh: Allow to prefer on-disk keys over active card keys. | |||
rG8b8a8b246c44 ssh: Allow to define the order in which keys are returned. | |||
rGf35e7dbf9e71 common: Slight redefinition of nvc_get_boolean. |
Related Objects
Related Objects
Event Timeline
Comment Actions
We want to get rid of sshcontrol but we could keep it as an optional configuration to sort keys. I won't say it is a bug, though.
Comment Actions
Let's first collect all keys, assign a priority, sort, and only then send them back to ssh.