[Bug 684] ssh cannot access keys stored in agent

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Sep 22 10:01:40 EST 2003


http://bugzilla.mindrot.org/show_bug.cgi?id=684

mdelan at computer.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #440 is|0                           |1
           obsolete|                            |



------- Additional Comments From mdelan at computer.org  2003-09-22 10:01 -------
Created an attachment (id=441)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=441&action=view)
patch to test that identity has been offered

On further reflection, aside from Markus's concern about the portability of
TAILQ_FOREACH_REVERSE, I see another problem with that fix: it's still assuming

a particular order of &authctxt->keys.	Some future change to the way
userauth_pubkey() manipulates that list could re-introduce the bug.

Checking that id->tried is set for the identity in addition to key_equal()
within the loop seems the more robust solution.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list