[Bug 1765] Error message if key not first in authorized_keys file

2012-07-21 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=1765

Gabriel Kerneis gabr...@kerneis.info changed:

   What|Removed |Added

 CC||xavier.jod...@corp.ovh.com

--- Comment #11 from Gabriel Kerneis gabr...@kerneis.info ---
*** Bug 2027 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
___
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs


[Bug 1765] Error message if key not first in authorized_keys file

2011-01-23 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=1765

Damien Miller d...@mindrot.org changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

--- Comment #10 from Damien Miller d...@mindrot.org 2011-01-24 12:33:53 EST 
---
Move resolved bugs to CLOSED after 5.7 release

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
___
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs


[Bug 1765] Error message if key not first in authorized_keys file

2010-11-22 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=1765

--- Comment #8 from Anders Liljegren anders.liljeg...@uadm.uu.se 2010-11-22 
20:24:02 EST ---
Created attachment 1959
  -- https://bugzilla.mindrot.org/attachment.cgi?id=1959
Diff of manually applied patch

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
___
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs


[Bug 1765] Error message if key not first in authorized_keys file

2010-05-20 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=1765

Damien Miller d...@mindrot.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #6 from Damien Miller d...@mindrot.org  ---
Fix committed - will be in OpenSSH-5.6

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
___
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs


[Bug 1765] Error message if key not first in authorized_keys file

2010-05-20 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=1765

--- Comment #7 from Anders Liljegren anders.liljeg...@uadm.uu.se  ---
As I said, the problem is *not* fixed by the patch, at least not if
applied to 5.5p1 containing version 1.22 of auth2-pubkey.c.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
___
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs


[Bug 1765] Error message if key not first in authorized_keys file

2010-05-19 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=1765

--- Comment #5 from Anders Liljegren anders.liljeg...@uadm.uu.se  ---
No, I'm not. I just didn't note that this part of the patch is only
used for certificates. Sorry! I must have made some mistake when
testing. When I test now the problem is still there so the patch didn't
help.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
___
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs


[Bug 1765] Error message if key not first in authorized_keys file

2010-05-12 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=1765

Damien Miller d...@mindrot.org changed:

   What|Removed |Added

 CC||d...@mindrot.org
 Blocks||1708

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
___
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs


[Bug 1765] Error message if key not first in authorized_keys file

2010-05-12 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=1765

--- Comment #2 from Anders Liljegren anders.liljeg...@uadm.uu.se  ---
Since I have openssh 5.5p1 which contains revision 1.22 of
auth2-pubkey.c I could not apply the patch using patch. I therefore
applied it manually. As far as I can judge the patch fixes my problem
and doesn't introduce any new bugs.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
___
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs


[Bug 1765] Error message if key not first in authorized_keys file

2010-05-12 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=1765

--- Comment #3 from Anders Liljegren anders.liljeg...@uadm.uu.se  ---
Sorry!
The patch doesn't fix my problem. I had applied a couple of lines in
the wrong order. After I put them in the right order, according to your
patch, the problem the problem is back.

This is how I first patched the file. This version fixes my problem.

if (key-type == KEY_RSA_CERT || key-type ==
KEY_DSA_CERT) {
if (auth_parse_options(pw, key_options, file,
linenum) != 1)
continue;
if (!key_is_cert_authority)
continue;
if (!key_equal(found,
key-cert-signature_key))
continue;
fp = key_fingerprint(found, SSH_FP_MD5,
SSH_FP_HEX);

This is how it looks after I applied it correctly. This does NOT fix my
problem.

if (key-type == KEY_RSA_CERT || key-type ==
KEY_DSA_CERT) {
if (!key_equal(found,
key-cert-signature_key))
continue;
if (auth_parse_options(pw, key_options, file,
linenum) != 1)
continue;
if (!key_is_cert_authority)
continue;
fp = key_fingerprint(found, SSH_FP_MD5,
SSH_FP_HEX);

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
___
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs


[Bug 1765] Error message if key not first in authorized_keys file

2010-05-12 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=1765

--- Comment #4 from Damien Miller d...@mindrot.org  ---
Are you using certificates? The lines you quoted only apply to
certificate keys.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
___
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs