From 525788359c6821a958ee7306ef3aa34d7b211a6f Mon Sep 17 00:00:00 2001 From: Alex Fong Date: Tue, 15 Mar 2016 10:24:28 +0800 Subject: (WIP) Change password when key is stripped #1692 Approach: Find the first unstripped secret key and use it for passphrase verification All unstripped keys will have their passphrase changed to new passphrase, if possible. Current Progress: Changing the passphrase of keys works fine. Refactoring to combine "modifySecretKeyring" and newly added method, "modifyKeyRingPassword" may be possible if given the go-ahead. --- OpenKeychain/src/main/res/values/strings.xml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OpenKeychain/src/main/res') diff --git a/OpenKeychain/src/main/res/values/strings.xml b/OpenKeychain/src/main/res/values/strings.xml index ab935b042..0af027ec1 100644 --- a/OpenKeychain/src/main/res/values/strings.xml +++ b/OpenKeychain/src/main/res/values/strings.xml @@ -1063,6 +1063,7 @@ "Modifying keyring %s" "Will use Security Token for crypto operations" + All keys are stripped! "Creation of new subkeys is not supported for primary keys on Security Tokens!" "The serial number of a key on Security Tokens must be 16 bytes! This is a programming error, please file a bug report!" "Encoding exception!" @@ -1077,6 +1078,7 @@ "Expiry time cannot be "same as before" on subkey creation. This is a programming error, please file a bug report!" "Nothing to do!" "Fatal error decrypting master key! This is likely a programming error, please file a bug report!" + "Error changing all passphrases!" "Internal OpenPGP error!" "Signature exception!" "Cannot modify stripped subkey %s!" -- cgit v1.2.3