diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java
index 32a32cf220..8334f175a1 100644
--- a/app/src/main/java/eu/faircode/email/FragmentMessages.java
+++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java
@@ -5396,7 +5396,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
if (is == null) {
if (message.identity != null)
db.identity().setIdentitySignKeyAlias(message.identity, null);
- throw new IllegalArgumentException(context.getString(R.string.title_invalid_key));
+ throw new IllegalArgumentException(context.getString(R.string.title_unknown_key));
}
}
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 0b804f1f62..4bf5f3198e 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -817,6 +817,7 @@
Public key of %1$s is invalid
No private key
Invalid private key
+ Private key does not match encryption key
Plain text only
Request receipt
Most providers and email clients ignore receipt requests