Skip to content

Conversation

@liuziyu1226
Copy link

@liuziyu1226 liuziyu1226 commented Jan 31, 2025

Fixes #650

@liuziyu1226 liuziyu1226 force-pushed the feature/cert-auth branch 2 times, most recently from e18687b to 0bfda76 Compare February 2, 2025 00:35
@tomaswolf
Copy link
Member

Thanks for this contribution. We're about to create a new Apache MINA sshd 2.15.0 release. I will defer merging this until after that (so it will be in 2.16.0 then). The problem is that the server side of certificate authentication has many other things missing. As far as I can see the server side doesn't even check the signature in the certificate.

Use the certified key to check the signature in server-side pubkey
auth. Previous code failed because it mistakenly used the certificate
itself, which didn't work because the signer doesn't know about
certificates.

(In other words: until this fix, pubkey auth at an Apache MINA sshd
server always failed with user certificates.)
@tomaswolf tomaswolf merged commit ca1b7bf into apache:master Feb 27, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Supplied key (org.apache.sshd.common.config.keys.OpenSshCertificateImpl) is not a RSAPublicKey instance

2 participants