aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/java/com/zeapo/pwdstore/crypto/PgpActivity.kt
AgeCommit message (Collapse)AuthorFilesLines
2020-06-12Break down PGP Activity into focused sections (#776)Harsh Shandilya1-788/+0
2020-06-10Replace FileUtils with Kotlin stdlib calls (#843)Fabian Henneke1-9/+1
2020-06-10Remove Apache Commons dependencies (#840)Diogenes Molinares1-5/+4
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-31Completely revamp decrypted password screen (#817)Harsh Shandilya1-130/+46
* Completely revamp decrypted password screen Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * update changelog Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Fabian Henneke <FabianHenneke@users.noreply.github.com>
2020-05-28Remove HOTP/TOTP support (#806)Harsh Shandilya1-154/+4
2020-05-10Treewide codestyle cleanup (#765)Harsh Shandilya1-53/+74
- 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-04-29build: update to openpgp-ktx 2.0 (#749)Harsh Shandilya1-192/+186
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-25Improve UX around settings items (#744)Harsh Shandilya1-1/+1
Fixes #461
2020-04-21treewide: switch to logging via timberktHarsh Shandilya1-9/+11
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-21treewide: use getSystemService extension everywhereHarsh Shandilya1-3/+6
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-21treewide: use edit extension and cleanup some deprecationHarsh Shandilya1-10/+11
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-19PgpActivity: hide category view when there's no textHarsh Shandilya1-1/+6
Co-Authored-By: Fabian Henneke <fabian@henneke.me> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-16Reduce build warnings (#712)Fabian Henneke1-1/+2
* Add annotations to and reformat SearchableRepositoryViewModel.kt * Address build warnings other than meaningful deprecations * Deal with warnings in UserPreference.kt
2020-04-15Respect encrypted username when filling Autofill generated entryFabian Henneke1-4/+3
2020-04-13Raise targetSdk to 29 (#682)Fabian Henneke1-4/+4
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-06Fix: Make path editable when generating a password (#688)Fabian Henneke1-3/+4
2020-04-05Fix: Make generated entry path editable without suggested username (#687)Fabian Henneke1-1/+1
The path of a new entry created via Autofill should always be editable, even when no username is prefilled (e.g., when generating a new password or saving a form with no detected username field).
2020-03-25Make preferred directory structure for Autofill configurable (#660)Fabian Henneke1-6/+40
Some users keep their password files in a directory structure such as: /example.org/john@doe.org.gpg while others prefer the style: /example.org/john@doe.org/password.gpg This commit adds a setting that allows to switch between the two. All Autofill operations, such as search, match, generate and save, respect this setting. Note: The first style seems to be the most widely used and is therefore kept as the default. The second style is mentioned on the official Pass website at: https://www.passwordstore.org/#organization
2020-03-24Add support for Oreo Autofill (#653)Fabian Henneke1-13/+85
Adds support for the Autofill feature first available in Android Oreo. In compatible apps and browsers, login forms are automatically detected and the user is presented with options to fill or generate credentials. In most apps and certain browsers, the service will also offer to create new Password Store entries from credentials entered into login forms. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-20Codestyle cleanupHarsh Shandilya1-30/+30
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-05Resolve various memory leaks (#637)Harsh Shandilya1-69/+56
This migrates the clipboard clear logic into a foreground service that allows us to also provide a notification that runs the clear task immediately on click, rather than wait for the timeout. Co-authored-by: Aditya Wasan <adityawasan55@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-01Add xkpasswd-style password generator (#633)glowinthedark1-4/+16
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-24Add longpress to copy implicit username (#635)Gigahawk1-0/+6
* Add longpress to copy implicit username * Address review comments Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
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-9/+10
* 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>
2020-01-25Correctly unmarshal errors from OpenKeychain (#615)Harsh Shandilya1-1/+1
Fixes #614 Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-29Update to openpgp-ktx 1.0.0 (#585)Harsh Shandilya1-161/+170
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-12PasswordGeneratorDialogFragment: Rewrite in Kotlin (#569)Harsh Shandilya1-3/+5
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-12Switch to openpgp-ktx (#565)Harsh Shandilya1-189/+195
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-06treewide: Reformat with latest ktlintHarsh Shandilya1-5/+5
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-31PgpActivity: Use snackbars instead of toastsHarsh Shandilya1-13/+13
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-31PgpActivity: Fix exception in copyHarsh Shandilya1-2/+2
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-5/+1
* Add Spotless to regulate codestyle * treewide: Run spotless * Add spotlessCheck to CI test Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-01Redesign UI and introduce dark theme (#519)Harsh Shandilya1-12/+15
Caveats: - The openpgp preference had to be removed because the open-intents developers are too lazy to update their libraries. Over the coming weeks I will be reimplementing a local solution for this instead. - The autofill dialog is broken but I since it is being worked on in #410 already I'm not going to bother fixing it.
2019-09-30don't update nonexistent progress bar (#549)Alex Burka1-3/+3
2019-09-14add save-and-copy button (#537)Alex Burka1-7/+19
2019-07-30treewide: Remove more useless log printsHarsh Shandilya1-2/+0
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-30Ensure we always have valid timestampsHarsh Shandilya1-4/+4
Non-git repositories deserve love too! Fixes #530 Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-30treewide: ReformatHarsh Shandilya1-45/+51
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-28Fix compile errorsHarsh Shandilya1-6/+6
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-31Fix instrumentation testsHarsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-29Convert autofill package to Kotlin (#515)Harsh Shandilya1-13/+13
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-26Added a "SHOW EXTRA CONTENT" button under the "SHOW PASSWORD" button. (#510)Emmanuel Corrales1-2/+18
* Add 'SHOW EXTRA CONTENT' button. * Show the extra content after clicking the 'SHOW EXTRA CONTENT' button. * Change the regular button to a toggle button and add text for hiding extra contents. * Change the implementaton of showing/hiding extra contents to accomodate using a toggle button. * Add padding to the top of the button.
2019-03-15fixed accidental newlinesDan Ho1-4/+2
2019-03-15minor spelling mistake fixDan Ho1-1/+2
2019-03-15break several lines to limit the line lengthDan Ho1-1/+5
2019-03-14Read OTP digits, algorithm, period from uri, support Steam GuardDan Ho1-4/+6
2019-02-28Fix clear clipboard 20 times history (#465) (#487)rk0n1-1/+1