mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-05 16:55:05 -05:00
Disable getEmbeddedSignatures() until patch by Ashh87 has been applied again in our spongy castle fork
This commit is contained in:
parent
7183c4ab06
commit
8ca42b9bf9
@ -973,16 +973,16 @@ public class PgpOperation {
|
|||||||
boolean primkeyBinding_isok = false;
|
boolean primkeyBinding_isok = false;
|
||||||
JcaPGPContentVerifierBuilderProvider contentVerifierBuilderProvider = new JcaPGPContentVerifierBuilderProvider()
|
JcaPGPContentVerifierBuilderProvider contentVerifierBuilderProvider = new JcaPGPContentVerifierBuilderProvider()
|
||||||
.setProvider(Constants.BOUNCY_CASTLE_PROVIDER_NAME);
|
.setProvider(Constants.BOUNCY_CASTLE_PROVIDER_NAME);
|
||||||
PGPSignatureList eSigList;
|
PGPSignatureList eSigList = null;
|
||||||
|
|
||||||
if (Pkts.hasSubpacket(SignatureSubpacketTags.EMBEDDED_SIGNATURE)) {
|
if (Pkts.hasSubpacket(SignatureSubpacketTags.EMBEDDED_SIGNATURE)) {
|
||||||
try {
|
// try {
|
||||||
eSigList = Pkts.getEmbeddedSignatures();
|
// eSigList = Pkts.getEmbeddedSignatures();
|
||||||
} catch (IOException e) {
|
// } catch (IOException e) {
|
||||||
return false;
|
// return false;
|
||||||
} catch (PGPException e) {
|
// } catch (PGPException e) {
|
||||||
return false;
|
// return false;
|
||||||
}
|
// }
|
||||||
for (int j = 0; j < eSigList.size(); ++j) {
|
for (int j = 0; j < eSigList.size(); ++j) {
|
||||||
PGPSignature emSig = eSigList.get(j);
|
PGPSignature emSig = eSigList.get(j);
|
||||||
if (emSig.getSignatureType() == PGPSignature.PRIMARYKEY_BINDING) {
|
if (emSig.getSignatureType() == PGPSignature.PRIMARYKEY_BINDING) {
|
||||||
|
Loading…
Reference in New Issue
Block a user