Skip to content

Commit c534075

Browse files
vanitasvitaedghgit
authored andcommitted
Fix merging public keys, make sure all keySigs are added to merged key
1 parent 9ecf791 commit c534075

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pg/src/main/java/org/bouncycastle/openpgp/PGPPublicKey.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1164,7 +1164,7 @@ public static PGPPublicKey join(
11641164
}
11651165

11661166
// key signatures
1167-
joinPgpSignatureList(copy.keySigs, keySigs, true, true);
1167+
joinPgpSignatureList(copy.keySigs, keySigs, false, true);
11681168

11691169
// user-ids and id sigs
11701170
for (int idIdx = 0; idIdx < copy.ids.size(); idIdx++)

0 commit comments

Comments
 (0)