You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by GitBox <gi...@apache.org> on 2020/09/10 15:49:26 UTC

[GitHub] [mina-sshd] FliegenKLATSCH commented on a change in pull request #164: [SSHD-1053] Fix signature string for openssh certificate host key algorithms

FliegenKLATSCH commented on a change in pull request #164:
URL: https://github.com/apache/mina-sshd/pull/164#discussion_r486450085



##########
File path: sshd-common/src/main/java/org/apache/sshd/common/signature/Signature.java
##########
@@ -93,4 +93,12 @@ default void update(SessionContext session, byte[] hash) throws Exception {
      * @throws Exception If failed to calculate the signature
      */
     byte[] sign(SessionContext session) throws Exception;
+
+    /**
+     * Get the original ssh name of the signature algorithm
+     * Only used for ssh cert variants, defaults to null
+     */
+    default String getSshAlgorithmName() {
+        return null;
+    }

Review comment:
       Because I am too lazy to fill it for _all_ algorithms.. For most it doesn't make a difference.
   But can do it for all..




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

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



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