From eea0e68dda1eb7248c6d458f52baeedb318b466a Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Tue, 25 Sep 2018 13:45:54 -0400 Subject: Display HOTP code if password contains HOTP secret, unify HOTP and TOTP code (#413) * Display HOTP code if password contains HOTP secret, unify HOTP and TOTP code * Add ability to show HOTP instead of showing every decrypt * Fix off by 1 error * fix return intent logic so that edits and HOTP increments are properly committed * fix linting errors * Fix broken logic for case when a password is created * add ability to choose if password entry will be updated on HOTP code calculation --- app/src/main/res/values/strings.xml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'app/src/main/res/values/strings.xml') diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 2da5982a..247275a1 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -23,14 +23,15 @@ [ANDROID PwdStore] Add   - [ANDROID PwdStore] Edit   + "[ANDROID PwdStore] Edit " + "[ANDROID PwdStore] Increment HOTP counter for "   from store. No OpenPGP Provider selected! Password copied to clipboard, you have %d seconds to paste it somewhere. Username copied to clipboard - TOTP code copied to clipboard + OTP code copied to clipboard Please provide a file name You cannot use an empty password or empty extra content @@ -93,13 +94,18 @@ Password: Extra content: Username: - TOTP: + OTP: Edit password Copy password Copy username - Copy OTP code + Copy OTP code Share as plaintext Last changed %s + Attention + Update entry + Leave unchanged + The HOTP counter is about to be incremented. This change will be committed. If you press "Leave unchanged", the HOTP code will be shown, but the counter will not be changed. + Remember my choice Git @@ -217,6 +223,7 @@ Remote rejected non-fast-forward push. Check receive.denyNonFastForwards variable in config file of destination repository. Error occurred during the push operation: Clear ssh-key saved passphrase + Clear saved preference for HOTP incrementing Remember the passphrase in the app configuration (insecure) Hackish tools Abort rebase @@ -224,4 +231,5 @@ p@ssw0rd! username: something other extra content Failed to get last changed date + Tap copy to calculate HOTP -- cgit v1.2.3