Skip to content
Permalink
Browse files

Adjust keyserver check to support ldap keyservers

ldap based key servers don’t support queries by key id, so use a fake email address instead which will work for sks as well as ldap.

[#178]
  • Loading branch information
lukele committed Dec 11, 2019
1 parent 6bf68d6 commit 3090b7584eb5f89fdaef215e4f3639ac16554460
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/GPGController.m
@@ -2706,7 +2706,7 @@ - (void)testKeyserverWithCompletionHandler:(void (^)(BOOL working))completionHan
gpgTask.batchMode = YES;
gpgTask.nonBlocking = YES;
[gpgTask addArgument:@"--search-keys"];
[gpgTask addArgument:@"0x0000000000000000000000000000000000000000"]; // Search for a non-existing key.
[gpgTask addArgument:@"0x@0x0000000000000000000000000000000000000000.org"]; // Search for a non-existing key.


dispatch_group_t dispatchGroup = dispatch_group_create();

0 comments on commit 3090b75

Please sign in to comment.
You can’t perform that action at this time.