Skip to content

sshd_config: enable [email protected] more - #2478

Closed
vszakats wants to merge 2 commits into
libssh2:masterfrom
vszakats:sshdopts
Closed

vszakats wants to merge 2 commits into
libssh2:masterfrom
vszakats:sshdopts

Conversation

@vszakats

@vszakats vszakats commented Aug 2, 2026

Copy link
Copy Markdown
Member

I'm not sure this is required, but I think it's worth a try to untangle
RSA tests. Ref: #2474.

Also add a comment about a config name change.

@vszakats vszakats added the tests label Aug 2, 2026
@vszakats vszakats closed this in 5b494b0 Aug 2, 2026
@vszakats
vszakats deleted the sshdopts branch August 2, 2026 09:51
vszakats added a commit that referenced this pull request Aug 2, 2026
…ig` to accept it

Explicitly use `-t ssh-rsa` (signature algorithm) to generate
`id_rsa_signed.pub` to match the purpose of the patch it came with. Also
to differenciate this key (and test) from the subsequently merged
`id_rsa_sha2_512_signed-cert.pub`, which used the exact same keys (`-t
rsa-sha2-512`, the default) before this patch, and made these tests
duplicates.

Also:
- update `sshd_config` to actually allow using an obsolete/insecure
  certificate signature `ssh-rsa`, by adding it to `CASignatureAlgorithms`.
- delete recently added entry from `HostKeyAlgorithms`, it was not
  necessary.
  Follow-up to 5b494b0 #2478

Testing obsolete/insecure algs is not time best spent in CI and for
maintainers, so maybe in a next step it'd useful to disable the RSA
SHA1-based ones by default.

Ref: https://superuser.com/questions/1556852/how-to-check-if-your-ssh-keys-are-in-the-ssh-rsa2-format
Ref: 7392dc9 #2479
Follow-up to 4b21e49 #710

Closes #2474
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant