This commit is contained in:
Paul Schaub 2022-08-27 13:38:50 +02:00
parent 27ae686d52
commit d8a060d0df

View file

@ -34,16 +34,16 @@ public class Get implements Runnable {
paramLabel = "IDENTIFIER",
arity = "1"
)
String identifer;
String identifier;
@Override
public void run() {
try {
KeyMaterial record;
if (SpecialNames.lookupSpecialName(identifer) != null) {
record = PGPCertDCli.getCertificateDirectory().getBySpecialName(identifer);
if (SpecialNames.lookupSpecialName(identifier) != null) {
record = PGPCertDCli.getCertificateDirectory().getBySpecialName(identifier);
} else {
record = PGPCertDCli.getCertificateDirectory().getByFingerprint(identifer.toLowerCase());
record = PGPCertDCli.getCertificateDirectory().getByFingerprint(identifier.toLowerCase());
}
if (record == null) {
return;