mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-04-22 07:29:05 -04:00
Rework
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -96,4 +96,6 @@ public interface SshIdentityStrategy {
|
||||
default SecretRetrievalStrategy getAskpassStrategy() {
|
||||
return new SecretNoneStrategy();
|
||||
}
|
||||
|
||||
String getPublicKey() throws Exception;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user