This is an automated email from the ASF dual-hosted git repository.

twolf pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mina-sshd.git


The following commit(s) were added to refs/heads/master by this push:
     new a7f8147b5 Avoid calling newly deprecated constructor of sk-* keys
a7f8147b5 is described below

commit a7f8147b59c8fdef236a69bec7fc8b728973da2d
Author: Thomas Wolf <tw...@apache.org>
AuthorDate: Mon Aug 25 21:35:43 2025 +0200

    Avoid calling newly deprecated constructor of sk-* keys
---
 .../apache/sshd/common/util/buffer/keys/SkECBufferPublicKeyParser.java  | 2 +-
 .../sshd/common/util/buffer/keys/SkED25519BufferPublicKeyParser.java    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/sshd-common/src/main/java/org/apache/sshd/common/util/buffer/keys/SkECBufferPublicKeyParser.java
 
b/sshd-common/src/main/java/org/apache/sshd/common/util/buffer/keys/SkECBufferPublicKeyParser.java
index 682b1ef72..f80513e28 100644
--- 
a/sshd-common/src/main/java/org/apache/sshd/common/util/buffer/keys/SkECBufferPublicKeyParser.java
+++ 
b/sshd-common/src/main/java/org/apache/sshd/common/util/buffer/keys/SkECBufferPublicKeyParser.java
@@ -43,6 +43,6 @@ public class SkECBufferPublicKeyParser extends 
AbstractBufferPublicKeyParser<SkE
         // with an appname on the end
         ECPublicKey ecPublicKey = 
ECBufferPublicKeyParser.INSTANCE.getRawPublicKey(ECCurves.nistp256.getKeyType(),
 buffer);
         String appName = buffer.getString();
-        return new SkEcdsaPublicKey(appName, false, ecPublicKey);
+        return new SkEcdsaPublicKey(appName, false, false, ecPublicKey);
     }
 }
diff --git 
a/sshd-common/src/main/java/org/apache/sshd/common/util/buffer/keys/SkED25519BufferPublicKeyParser.java
 
b/sshd-common/src/main/java/org/apache/sshd/common/util/buffer/keys/SkED25519BufferPublicKeyParser.java
index 217258de8..604d96cb0 100644
--- 
a/sshd-common/src/main/java/org/apache/sshd/common/util/buffer/keys/SkED25519BufferPublicKeyParser.java
+++ 
b/sshd-common/src/main/java/org/apache/sshd/common/util/buffer/keys/SkED25519BufferPublicKeyParser.java
@@ -43,6 +43,6 @@ public class SkED25519BufferPublicKeyParser extends 
AbstractBufferPublicKeyParse
         // the end
         PublicKey publicKey = 
ED25519BufferPublicKeyParser.INSTANCE.getRawPublicKey(KeyPairProvider.SSH_ED25519,
 buffer);
         String appName = buffer.getString();
-        return new SkED25519PublicKey(appName, false, publicKey);
+        return new SkED25519PublicKey(appName, false, false, publicKey);
     }
 }

Reply via email to