From 57378be1c07893e2231e485d6289d53d522aa7d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Sat, 25 Jul 2015 14:32:47 +0200 Subject: Introduce constants in OpenPgpSignature and DecryptionResult for unsigned/unencrypted content, update API, introduce simple checks for insecure symmetric algos --- OpenKeychain/src/main/res/values/strings.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'OpenKeychain/src/main/res/values') diff --git a/OpenKeychain/src/main/res/values/strings.xml b/OpenKeychain/src/main/res/values/strings.xml index ddf10c988..144617cd2 100644 --- a/OpenKeychain/src/main/res/values/strings.xml +++ b/OpenKeychain/src/main/res/values/strings.xml @@ -343,6 +343,7 @@ "Not Signed" "Invalid signature!" + "Invalid signature (Insecure Cryptography)!" "Signed by unconfirmed key" "Signed by your key" "Signed by confirmed key" @@ -351,6 +352,7 @@ "Signed by unknown public key" "Encrypted" "Not Encrypted" + "Insecure Encryption" "Show" "Lookup" "Either the signature is invalid or the key has been revoked. You cannot be sure who wrote the text. Do you still want to display it?" @@ -1163,7 +1165,7 @@ "Encountered trailing, symmetrically encrypted data" "Encountered trailing data of unknown type" "Unlocking secret key" - "Potentially insecure encryption algorithm has been used!" + "Insecure encryption algorithm has been used!" "Starting signature check" -- cgit v1.2.3 From dba145f5dfb7f7a43be41b3d01eeb68c4253ae7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Thu, 30 Jul 2015 22:46:36 +0200 Subject: Follow some of coorus recommendations: better selection of algo whitelist, ignore recipients preferred algos --- OpenKeychain/src/main/res/values/strings.xml | 1 - 1 file changed, 1 deletion(-) (limited to 'OpenKeychain/src/main/res/values') diff --git a/OpenKeychain/src/main/res/values/strings.xml b/OpenKeychain/src/main/res/values/strings.xml index 144617cd2..071e085f3 100644 --- a/OpenKeychain/src/main/res/values/strings.xml +++ b/OpenKeychain/src/main/res/values/strings.xml @@ -1196,7 +1196,6 @@ "Preparing compression" "Encrypting data" "Bad password!" - "Requested hashing algorithm is not supported by this key!" "Encountered IO Exception during operation!" "Selected signing key cannot sign data!" "Error fetching signing key!" -- cgit v1.2.3 From 3d8eda6e3e3748e32e4c47a405cd8c6962e28a96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Sun, 2 Aug 2015 23:34:00 +0200 Subject: Improve comments and reasons in PgpConstants, simple checks for insecure asymmetric keys --- OpenKeychain/src/main/res/values/strings.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'OpenKeychain/src/main/res/values') diff --git a/OpenKeychain/src/main/res/values/strings.xml b/OpenKeychain/src/main/res/values/strings.xml index 071e085f3..72406aaab 100644 --- a/OpenKeychain/src/main/res/values/strings.xml +++ b/OpenKeychain/src/main/res/values/strings.xml @@ -1134,7 +1134,6 @@ "File size is unknown" "Modification time: %s" "Signature check NOT OK!" - "Unsupported and potentially insecure hash algorithm!" "Verifying signature data" "Signature check OK" "Saving signature data for later" @@ -1144,7 +1143,6 @@ "Data is corrupt!" "Unknown error unlocking key!" "Integrity check error!" - "Missing integrity check! This can happen because the encrypting application is out of date, or from a downgrade attack." "No valid OpenPGP encrypted or signed data found!" "Encountered an error reading input data!" "Error opening input data stream!" @@ -1165,7 +1163,10 @@ "Encountered trailing, symmetrically encrypted data" "Encountered trailing data of unknown type" "Unlocking secret key" - "Insecure encryption algorithm has been used!" + "Insecure encryption algorithm has been used! This can happen because the application is out of date, or from an attack." + "Insecure hash algorithm has been used! This can happen because the application is out of date, or from an attack." + "Missing the Modification Detection Code (MDC) packet! This can happen because the encrypting application is out of date, or from a downgrade attack." + "Insecure key: Either the bit length of RSA/DSA/ElGamal is too short or the ECC curve/algorithm is considered insecure! This can happen because the application is out of date, or from an attack." "Starting signature check" -- cgit v1.2.3