aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/java/com/zeapo/pwdstore/utils/Otp.java
AgeCommit message (Collapse)AuthorFilesLines
2020-05-28Remove HOTP/TOTP support (#806)Harsh Shandilya1-63/+0
2020-05-10Treewide codestyle cleanup (#765)Harsh Shandilya1-3/+7
- Updated gitignore and checked in the IDE's codestyle config - Removed spotless as the underlying ktlint backend has failed to resolve the super frustrating import order bug[1] in nearly a year - Reformat the entire codebase based on the previously committed code style configuration. 1: https://github.com/pinterest/ktlint/issues/527
2020-01-30Update license headers (#625)Harsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2020-01-26Switch to Timber for logging (#617)Harsh Shandilya1-3/+3
* Switch to Timber for logging Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> * Update changelog Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> * Fix rebase error Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-02treewide: Fix typo in license headerHarsh Shandilya1-1/+1
While we're here, also clarify we're strictly GPL-3.0 and not automatically opting into future revisions of the license. Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-02treewide: Add copyrightsHarsh Shandilya1-0/+4
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-02Add Spotless to regulate codestyle (#550)Harsh Shandilya1-10/+8
* Add Spotless to regulate codestyle * treewide: Run spotless * Add spotlessCheck to CI test Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-30treewide: ReformatHarsh Shandilya1-4/+5
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-31Otp: Remove string concatenation from calculation hot pathHarsh Shandilya1-3/+3
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-03-14Read OTP digits, algorithm, period from uri, support Steam GuardDan Ho1-6/+15
2019-01-02Bump minSdk to 21 (#466)Harsh Shandilya1-5/+3
* Bump minSdk to 21 Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> * PasswordGenerator: Constify things Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> * Deprecate PRNG fixes The problem being fixed doesn't exist on SDK 21 and above. Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> * treewide: Switch to lambdas Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> * treewide: Formatting fixes Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> * treewide: Remove useless casts and add missing annotations Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2018-09-25Display HOTP code if password contains HOTP secret, unify HOTP and TOTP code ↵Joel Beckmeyer1-0/+49
(#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