From 35ec9857e53eac289f020f2bdeffbd1a38138ad0 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 21 Dec 2024 11:15:13 +0100 Subject: [PATCH] Show encryption algorithm for public key --- app/src/main/java/eu/faircode/email/FragmentMessages.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {