calderonth commented on issue #650:
URL: https://github.com/apache/mina-sshd/issues/650#issuecomment-2749010933

   Yes, I have of course modified gerrit to use the CA keys so that the 
validation happen and this seems to work as per logs:
   
   ```
       try {
         Path authorizedKeys = FileSystems.getDefault().getPath("/tmp/" , 
"ssh_user_key.pub");
         PublickeyAuthenticator authenticator = 
           new AuthorizedKeyEntriesPublickeyAuthenticator(
             authorizedKeys,
             session,
             AuthorizedKeyEntry.readAuthorizedKeys(authorizedKeys),
             PublicKeyEntryResolver.FAILING
           );
         return authenticator.authenticate(username, suppliedKey, session);
   ```
   With the format being:
   ```
   cert-authority ecdsa-sha2-nistp256 AAAAE2...
   ```
   
   However, somehow the session seems to be in a broken state.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to