[openssh-commits] [openssh] 02/02: upstream: When loading FIDO2 resident keys, set the comment to the
git+noreply at mindrot.org
git+noreply at mindrot.org
Tue Nov 25 10:45:02 AEDT 2025
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit 69965aefe3355488e0462291be13a233b8405091
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Mon Nov 24 23:43:10 2025 +0000
upstream: When loading FIDO2 resident keys, set the comment to the
FIDO application string. This matches the behaviour of ssh-keygen -K
From Arian van Putten via GHPR608
OpenBSD-Commit-ID: 3fda54b44ed6a8a6f94cd3e39e69c1e672095712
---
ssh-add.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ssh-add.c b/ssh-add.c
index dc1c53ae0..ac1891f62 100644
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-add.c,v 1.183 2025/11/13 10:35:14 dtucker Exp $ */
+/* $OpenBSD: ssh-add.c,v 1.184 2025/11/24 23:43:10 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo at cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo at cs.hut.fi>, Espoo, Finland
@@ -601,8 +601,8 @@ load_resident_keys(int agent_fd, const char *skprovider, int qflag,
if ((fp = sshkey_fingerprint(key,
fingerprint_hash, SSH_FP_DEFAULT)) == NULL)
fatal_f("sshkey_fingerprint failed");
- if ((r = ssh_add_identity_constrained(agent_fd, key, "",
- lifetime, confirm, skprovider,
+ if ((r = ssh_add_identity_constrained(agent_fd, key,
+ key->sk_application, lifetime, confirm, skprovider,
dest_constraints, ndest_constraints)) != 0) {
error("Unable to add key %s %s",
sshkey_type(key), fp);
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list