diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index ae4f934d7c..d773e92c9a 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -10149,7 +10149,7 @@ public class FragmentMessages extends FragmentBase String keyalgo = null; String keyalgooid = null; try { - keyalgooid = s.getDigestAlgOID(); + keyalgooid = s.getEncryptionAlgOID(); DefaultAlgorithmNameFinder af = new DefaultAlgorithmNameFinder(); keyalgo = af.getAlgorithmName(new ASN1ObjectIdentifier(keyalgooid)); } catch (Throwable ex) {