diff --git a/pgpainless-core/src/main/java/org/pgpainless/signature/builder/RevocationSignatureBuilder.java b/pgpainless-core/src/main/java/org/pgpainless/signature/builder/RevocationSignatureBuilder.java index e2e9c0c0..3c2dcab9 100644 --- a/pgpainless-core/src/main/java/org/pgpainless/signature/builder/RevocationSignatureBuilder.java +++ b/pgpainless-core/src/main/java/org/pgpainless/signature/builder/RevocationSignatureBuilder.java @@ -19,7 +19,7 @@ public class RevocationSignatureBuilder extends AbstractSignatureBuilder algorithms) { - return setPreferredCompressionAlgorithms(true, algorithms); + return setPreferredCompressionAlgorithms(false, algorithms); } @Override @@ -342,7 +342,7 @@ public class SignatureSubpackets @Override public SignatureSubpackets setPreferredSymmetricKeyAlgorithms(Set algorithms) { - return setPreferredSymmetricKeyAlgorithms(true, algorithms); + return setPreferredSymmetricKeyAlgorithms(false, algorithms); } @Override @@ -381,7 +381,7 @@ public class SignatureSubpackets @Override public SignatureSubpackets setPreferredHashAlgorithms(Set algorithms) { - return setPreferredHashAlgorithms(true, algorithms); + return setPreferredHashAlgorithms(false, algorithms); } @Override @@ -465,6 +465,11 @@ public class SignatureSubpackets return new ArrayList<>(intendedRecipientFingerprintList); } + @Override + public SignatureSubpackets setExportable(boolean exportable) { + return setExportable(true, exportable); + } + @Override public SignatureSubpackets setExportable(boolean isCritical, boolean isExportable) { return setExportable(new Exportable(isCritical, isExportable)); @@ -480,6 +485,11 @@ public class SignatureSubpackets return exportable; } + @Override + public SignatureSubpackets setRevocable(boolean revocable) { + return setRevocable(true, revocable); + } + @Override public SignatureSubpackets setRevocable(boolean isCritical, boolean isRevocable) { return setRevocable(new Revocable(isCritical, isRevocable)); @@ -530,7 +540,7 @@ public class SignatureSubpackets @Override public SignatureSubpackets setRevocationReason(RevocationAttributes revocationAttributes) { - return setRevocationReason(true, revocationAttributes); + return setRevocationReason(false, revocationAttributes); } @Override