bugzilla-daemon at mindrot.org
2024-Aug-26  18:36 UTC
[Bug 3725] New: Unclear error when configuring 'ed25519' as HostKeyAlgorithms
https://bugzilla.mindrot.org/show_bug.cgi?id=3725
            Bug ID: 3725
           Summary: Unclear error when configuring 'ed25519' as
                    HostKeyAlgorithms
           Product: Portable OpenSSH
           Version: 9.8p1
          Hardware: amd64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: noratrieb at proton.me
When specifying an entirely invalid host key algorithm, a clear error
message is emitted:
$ ssh -oHostKeyAlgorithms=invalid localhost
command-line line 0: Bad key types 'invalid'.
But when configuring 'ed25519' (the correct algorithm is of course
ssh-ed25519), this error is not emitted, instead it errors with a
seemingly internal error.
$ ssh -oHostKeyAlgorithms=ed25519 localhost
ssh_kex2: kex_assemble_namelist: invalid argument
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2024-Sep-04  05:39 UTC
[Bug 3725] Unclear error when configuring 'ed25519' as HostKeyAlgorithms
https://bugzilla.mindrot.org/show_bug.cgi?id=3725
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
             Blocks|                            |3708
                 CC|                            |djm at mindrot.org
         Resolution|---                         |FIXED
--- Comment #1 from Damien Miller <djm at mindrot.org> ---
This should be fixed in commit 13cc78d016b67 which will be in the
openssh-9.9 release, due in about 6 weeks - thanks!
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=3708
[Bug 3708] Tracking bug for OpenSSH 9.9
-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
Maybe Matching Threads
- Call for testing: OpenSSH 8.2
- nistp256 preferred over ed25519
- ssh-ed25519 and ecdsa-sha2-nistp256 host keys
- ssh-ed25519 and ecdsa-sha2-nistp256 host keys
- [Bug 3157] New: known_hosts @cert-authority with legacy plain key entry drops incorrect set of HostKeyAlgorithms