[Bug 3636] New: Public key authentication fails with incorrect message if authorized_keys is not UTF-8 encoded

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Nov 28 10:02:21 AEDT 2023


https://bugzilla.mindrot.org/show_bug.cgi?id=3636

            Bug ID: 3636
           Summary: Public key authentication fails with incorrect message
                    if authorized_keys is not UTF-8 encoded
           Product: Portable OpenSSH
           Version: 9.5p1
          Hardware: Other
                OS: Other
            Status: NEW
          Severity: minor
          Priority: P5
         Component: sshd
          Assignee: unassigned-bugs at mindrot.org
          Reporter: alansamet at yahoo.com

Older Windows server. 

Generated the initial authorized_keys file in PowerShell by performing
echo "<pubkey>" >> authorized_keys. 

Received incorrect error: mm_answer_keyallowed: publickey
authentication test: ED25519 key is not allowed

Minor bug, but painful to diagnose that it was an encoding issue.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list