aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2023-07-09refactor: rework password dialog to avoid memory leakHarsh Shandilya3-19/+21
2023-07-09refactor: extract prompt authentication callback creationHarsh Shandilya1-58/+64
2023-07-09fix: correctly use biometrics result in passphrase cache flowHarsh Shandilya2-31/+57
2023-07-09refactor: eliminate one level of nesting from BiometricAuthenticatorHarsh Shandilya1-27/+29
2023-07-09refactor: adopt Kotlin 1.9's `data object`sHarsh Shandilya3-9/+9
2023-07-05feat(ui): add a dedicated Compose screen for editing passwordsHarsh Shandilya2-62/+117
2023-07-05fix(ui): adjust width of items in `PasswordEntryScreen`Harsh Shandilya1-16/+20
2023-06-27fix: remove use of unnecessary `Object#clone`Harsh Shandilya1-3/+1
2023-06-27fix: remove unused feature flagHarsh Shandilya1-7/+0
2023-06-27fix: replace hard-coded stringsHarsh Shandilya1-2/+2
2023-06-27chore: cleanup IDE warningsHarsh Shandilya3-9/+1
2023-06-15feat: adopt Kotlin 1.9 Enum entries featureHarsh Shandilya4-16/+10
2023-06-15refactor: consistently adopt PGP over GPG for namingHarsh Shandilya13-67/+66
PGP is the standard, GPG is an implementation of it. We're adhering to PGP, and not using GPG.
2023-06-15fix: address `ComposeUnstableCollections` lintHarsh Shandilya2-7/+14
2023-06-15chore: update PGP key list previewsHarsh Shandilya1-9/+18
2023-06-15fix: ensure PGP key list item works with longer user IDsHarsh Shandilya1-2/+9
2023-06-13fix: allow `gpg-id` to be the first line of a `.gpg-id` fileHarsh Shandilya1-0/+2
2023-06-04fix: replace `Stack` with `ArrayDeque` in `SearchableRepositoryViewModel`Harsh Shandilya1-4/+3
2023-06-04feat: add custom dialog title for passphrase cacheHarsh Shandilya2-2/+9
2023-06-04fix: clear violations of `RawDispatcherUse`Harsh Shandilya17-87/+107
2023-06-04fix: clear violations of `FullyQualifiedResource`Harsh Shandilya1-3/+2
2023-05-19feat(gpg): add methods to clear entries from GPG passphrase cacheHarsh Shandilya1-0/+13
2023-05-13fix: check feature flag before biometric authHarsh Shandilya2-3/+3
2023-05-12feat: raise min SDK to 26Harsh Shandilya17-147/+48
Autofill is only available on API 26 and above and I do not want to deal with bugs on these older Android releases.
2023-05-09fix: add warning to passphrase cache featureHarsh Shandilya1-1/+2
2023-05-08chore: adjust code styleHarsh Shandilya2-37/+38
2023-05-08feat: wire up passphrase cacheHarsh Shandilya5-18/+123
Currently has horrible UX and is behind an experimental feature flag
2023-05-08fix: adjust GPGPassphraseCache public APIHarsh Shandilya1-2/+2
2023-05-08refactor: move out GPG identifier parser to `BasePgpActivity`Harsh Shandilya2-44/+54
2023-05-08chore: touch up codestyle in `BiometricAuthenticator.kt`Harsh Shandilya1-6/+4
2023-05-05feat: kick off a very basic passphrase cacheHarsh Shandilya1-0/+67
2023-05-05refactor: make `PreferenceModule` codestyle consistentHarsh Shandilya1-17/+8
2023-05-05feat: switch default password generator to DicewareHarsh Shandilya2-4/+2
2023-04-29fix(deps): update dependency com.facebook:ktfmt to v0.44 (#2490)renovate[bot]20-4/+93
* fix(deps): update dependency com.facebook:ktfmt to v0.44 * chore: reformat with ktfmt 0.44 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2023-04-10fix: remove injection redirection in SSHFacadeHarsh Shandilya1-3/+2
2023-04-10feat: put new SSH layer behind a feature flagHarsh Shandilya9-29/+118
There hasn't been nearly enough regression testing on this and it is causing breakage, let's move it out of the default path until we've ironed out the kinks.
2023-04-10fix: actually apply LeakCanary config changesHarsh Shandilya1-2/+2
2023-04-06fix: only check repo initialization in commit flowHarsh Shandilya1-1/+1
2023-04-06feat: wire up key import functionalityHarsh Shandilya5-23/+103
2023-04-06fix: use created repository directlyHarsh Shandilya1-2/+1
2023-04-02Refactor SSHKey into a separate module (#2450)Aditya Wasan8-55/+112
* refactor(ssh): add `ssh` module Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * refactor(ssh): add `SSHKey` data class Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * refactor(ssh): add `SSHKeyType` enum Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * refactor(ssh): add `SSHKeyAlgorithm` class Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * refactor(ssh): add class to generate `RSA` key Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * chore(ssh): add required dependencies Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * refactor(ssh): add `ECDSAKeyGenerator` and remove constants Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * refactor(ssh): add utilities Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * feat(ssh): add `SSHKeyWriter` Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * refactor(ssh): make ssh key generators suspending Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * fix(ssh): fix explicit API violations * feat: complete `ED25519KeyWriter` implementation Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * factor(ssh/writer): update writer interface Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * feat(ssh/provider): add providers for different key types Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * feat(ssh): add SSHKeyManager for common key functionality Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * feat(ssh): add remaining methods to reach feature parity with old SSH implementation Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * wip(app): start using SSHKeyManager instead of SSHKey class Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * refactor(ssh): update package name Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * chore(ssh): fix detekt warnings Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * chore: fixes across the board --------- Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2023-03-27refactor: migrate to androidx.core APIs for `Bundle`/`Intent` API changesHarsh Shandilya4-36/+17
2023-03-25feat: offer to import a PGP key when none are presentHarsh Shandilya5-21/+66
2023-03-25fix: use DispatcherProvider in CryptoRepositoryHarsh Shandilya1-3/+4
2023-03-25chore: rename import button label string resourceHarsh Shandilya1-3/+2
2023-03-25fix: ensure repo dir is recreated after deletionHarsh Shandilya2-2/+8
2023-03-24fix: extract hard-coded stringHarsh Shandilya1-1/+1
2023-03-24feat: add user guidance in PGP key manager screenHarsh Shandilya1-10/+38
2023-03-24fix: adjust LeakCanary init flowHarsh Shandilya1-2/+1
2023-03-19fix: inverted test in `Migrations#removeCurrentBranchValue`Harsh Shandilya1-1/+1