vorburger opened a new issue, #748:
URL: https://github.com/apache/mina-sshd/issues/748

   ### Description
   
   It would be useful to be able to obtain the `java.security.PublicKey` from a 
`org.apache.sshd.server.session.ServerSession` (if one was used to 
authenticate).
   
   ### Motivation
   
   This seems useful to identify users.
   
   ### Alternatives considered
   
   I have written a `PublickeyAuthenticator` which uses an internal 
`Map<ServerSession, PublicKey> keys`, but it seems like a hack.
   
   ### Additional context
   
   Apologies if there is already an API to do this, but I couldn't find it.


-- 
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.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