mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-14 00:12:06 +01:00
Document workaround for https://github.com/bcgit/bc-java/pull/1085
This commit is contained in:
parent
4855f8063e
commit
09026f56b0
1 changed files with 3 additions and 1 deletions
|
@ -584,7 +584,9 @@ public final class SignatureSubpacketsUtil {
|
|||
|
||||
if (type == SignatureSubpacket.revocationKey) {
|
||||
// RevocationKey subpackets are not castable for some reason
|
||||
// We need to manually construct the new object
|
||||
// See https://github.com/bcgit/bc-java/pull/1085 for an upstreamed fix
|
||||
// We need to manually construct the new object for now.
|
||||
// TODO: Remove workaround when BC 1.71 is released (and has our fix)
|
||||
return (P) new RevocationKey(last.isCritical(), last.isLongLength(), last.getData());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue