[ 
https://issues.apache.org/jira/browse/SSHD-1167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17347116#comment-17347116
 ] 

Thomas Wolf commented on SSHD-1167:
-----------------------------------

This may need an API change in any case. {{KnownHostsServerKeyVerifier}} 
doesn't check for revoked keys, but should, and if a CA public key is found and 
is revoked, {{AbstractClientSession.checkKeys()}} must _not_ fall back to using 
the host public key directly.

> KnownHostsServerKeyVerifier: handle CA keys
> -------------------------------------------
>
>                 Key: SSHD-1167
>                 URL: https://issues.apache.org/jira/browse/SSHD-1167
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 2.7.1
>            Reporter: Thomas Wolf
>            Priority: Major
>
> {{AbstractClientSession.checkKeys()}} correctly calls the 
> {{ServerKeyVerifier}} to verify the CA key. 
> OpenSSH considers for the check of the CA public key only entries in 
> known_hosts that have the "@cert-authority" marker. 
> {{KnownHostsServerKeyVerifier}} should do the same.
> This may need an API change to tell the {{ServerKeyVerifier}} whether the 
> public key being verified is a CA key or not.
> Also, CA public keys are never added to known_hosts in OpenSSH? At least 
> that's the impression I get when looking through the OpenSSH code.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to