Bug 3532

Summary: ssh -Q CASignatureAlgorithms not working
Product: Portable OpenSSH Reporter: xspielinbox+mindrot
Component: sshAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: normal CC: djm, dtucker
Priority: P5    
Version: -current   
Hardware: amd64   
OS: Linux   
Bug Depends on:    
Bug Blocks: 3533    

Description xspielinbox+mindrot 2023-02-04 05:11:05 AEDT
The ssh man page (ssh(1)) states for the "-Q query_option" option that "Alternatively, any keyword from ssh_config(5) or sshd_config(5) that takes an algorithm list may be used as an alias for the corresponding query_option."

However, even though CASignatureAlgorithms is listed as taking an algorithm list in ssh_config(5) and sshd_config(5) it does not work with 'ssh -Q'. This makes it extremely difficult to figure out what arguments are accepted for a given version of OpenSSH for this configuration option.

Looking at https://github.com/openssh/openssh-portable/blob/master/ssh.c#L777 and the following lines it seems like there is missing a case for CASignatureAlgorithms.
Comment 1 Damien Miller 2023-02-10 15:40:48 AEDT
This has been fixed and will be in the OpenSSH 9.3 release
Comment 2 xspielinbox+mindrot 2023-02-11 01:04:16 AEDT
Thank you.

Just a question on the implementation: What are the cert algorithms for as a CASignatureAlgorithms? They aren't enabled by default and as intermediate Certificates aren't supported I don't understand how this would work.
Comment 3 Damien Miller 2023-03-17 13:38:51 AEDT
OpenSSH 9.3 has been released. Close resolved bugs