This commit is contained in:
crschnick
2025-12-07 19:11:41 +00:00
parent 928de22fae
commit 3c00c3ec49
4 changed files with 17 additions and 0 deletions

View File

@@ -94,4 +94,9 @@ public class CustomPkcs11LibraryStrategy implements SshIdentityStrategy {
new KeyValue("IdentityFile", "none"),
new KeyValue("IdentityAgent", "none"));
}
@Override
public String getPublicKey() throws Exception {
return null;
}
}

View File

@@ -28,4 +28,9 @@ public class NoIdentityStrategy implements SshIdentityStrategy {
new KeyValue("IdentityFile", "none"),
new KeyValue("PKCS11Provider", "none"));
}
@Override
public String getPublicKey() throws Exception {
return null;
}
}

View File

@@ -96,4 +96,6 @@ public interface SshIdentityStrategy {
default SecretRetrievalStrategy getAskpassStrategy() {
return new SecretNoneStrategy();
}
String getPublicKey() throws Exception;
}

View File

@@ -79,4 +79,9 @@ public class YubikeyPivStrategy implements SshIdentityStrategy {
new KeyValue("IdentityFile", "none"),
new KeyValue("IdentityAgent", "none"));
}
@Override
public String getPublicKey() throws Exception {
return null;
}
}