display correct primary user id in import dialogue MOSTLY
This is an incomplete fix; due to use of machine readable output, there is no way to know the primary user id for keys fetched from a key server. Pending https://bitbucket.org/skskeyserver/sks-keyserver/issue/28/primary-uid-in-machine-readable-index
This commit is contained in:
1 parent
4e408fae53
commit
0f06b8a1d6
2 files changed
+41
-21
No files matched your search
@@ -294,6 +294,7 @@ public class HkpKeyServer extends KeyServer {
|
||||
userIds.add(tmp);
|
||||
}
|
||||
entry.setUserIds(userIds);
|
||||
entry.setPrimaryUserId(userIds.get(0));
|
||||
|
||||
results.add(entry);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user