aboutsummaryrefslogtreecommitdiffstats
path: root/app/src
AgeCommit message (Collapse)AuthorFilesLines
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 Shandilya6-25/+105
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-27Sync localisations from Crowdin (#2440)Harsh Shandilya1-0/+3
strings: sync with crowdin Co-authored-by: GitHub Actions <noreply@github.com>
2023-03-26Sync localisations from Crowdin (#2439)Harsh Shandilya2-0/+8
strings: sync with crowdin Co-authored-by: GitHub Actions <noreply@github.com>
2023-03-25feat: offer to import a PGP key when none are presentHarsh Shandilya6-21/+68
2023-03-25fix: use DispatcherProvider in CryptoRepositoryHarsh Shandilya1-3/+4
2023-03-25chore: rename import button label string resourceHarsh Shandilya10-12/+11
2023-03-25fix: ensure repo dir is recreated after deletionHarsh Shandilya2-2/+8
2023-03-24fix: extract hard-coded stringHarsh Shandilya2-1/+2
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
2023-03-18fix(app): control LeakCanary lifecycle more explicitlyHarsh Shandilya2-3/+8
2023-03-08fix: also swallow retry attempts in SSHJ biometric authHarsh Shandilya1-1/+2
2023-03-08chore: add more logging to biometric operationsHarsh Shandilya1-1/+3
2023-03-08fix: use UI context for more `Toast`sHarsh Shandilya1-1/+1
Fixes: a3b88c1dee86 ("fix: use activity context for Toast")
2023-03-04fix: make remembering HTTPS password the defaultHarsh Shandilya2-2/+5
Not many good reasons to do this a different way
2023-03-04fix: use activity context for ToastHarsh Shandilya1-1/+1
Fixes a newly introduced warning in API 33 > Tried to access visual service WindowManager from a non-visual Context:app.passwordstore.Application@d2801f8 WindowManager > should be accessed from Activity or other visual Context. Use an Activity or a Context created with > Context#createWindowContext(int, Bundle), which are adjusted to the configuration and visual bounds of an area on screen.
2023-02-26Sync localisations from Crowdin (#2392)Harsh Shandilya2-0/+4
strings: sync with crowdin Co-authored-by: GitHub Actions <noreply@github.com>
2023-02-23chore(i18n): import current translationsHarsh Shandilya9-7/+337
2023-02-23fix: clarify OTP import failure stringsHarsh Shandilya9-13/+12
2023-02-08chore(deps): bump `com.facebook:ktfmt` to 0.43Harsh Shandilya1-2/+2
2023-01-31Revert "refactor: use a ViewModel to pass around decryption passphrase"Harsh Shandilya4-60/+29
This fails to correctly handle retries. Will re-land after I can figure out why. This reverts commit 2fbad7ef6b42cc30c5eac79d5d166bba7cba42a4.
2023-01-28feat: wire up SLF4J integrationHarsh Shandilya3-0/+61
2023-01-28refactor: extract SLF4J loggers for re-useHarsh Shandilya3-131/+142
2023-01-26chore(deps): upgrade security-crypto to 1.1.0-alpha04Harsh Shandilya1-13/+7
2023-01-26fix(app): address UI inconsistencies in proxy configuration screenHarsh Shandilya3-2/+19
2023-01-19refactor: use a ViewModel to pass around decryption passphraseHarsh Shandilya4-29/+60
2023-01-12fix: remove deprecated methodHarsh Shandilya1-1/+1
2022-12-31chore: reword confusing commentsHarsh Shandilya1-2/+8
2022-12-31chore: add inherited deprecation annotationHarsh Shandilya1-0/+1
2022-12-31fix: remove unnecessary log statementHarsh Shandilya1-1/+0
2022-12-12fix(autofill): fall back to remote views when inline presentations are ↵Harsh Shandilya1-0/+4
unavailable Fixes #2290
2022-12-11Sync localisations from Crowdin (#2295)Harsh Shandilya3-14/+29
strings: sync with crowdin Co-authored-by: GitHub Actions <noreply@github.com>
2022-12-09chore(deps): upgrade ktfmt to 0.42Harsh Shandilya3-4/+3
2022-12-08chore: fix issues flagged by LintHarsh Shandilya9-21/+11
2022-12-03feat(leakcanary): migrate to manual initializationHarsh Shandilya1-2/+7
2022-12-03feat(app): add implementations for SentryLeakUploaderHarsh Shandilya2-0/+75
2022-11-27refactor: break out overly long methodHarsh Shandilya1-41/+45
2022-11-27refactor: replace branch preference value with repository-based helperHarsh Shandilya7-40/+26
2022-11-27refactor: remove branch input for cloningHarsh Shandilya3-24/+3
2022-11-27chore: use `asLog` extension instead of duplicatingHarsh Shandilya1-1/+2
2022-11-27refactor: make `ResetToRemoteOperation` actually work and use its own ↵Harsh Shandilya4-15/+33
`remoteBranch` input
2022-11-27feat: add a helper to `PasswordRepository` to retrieve the current branchHarsh Shandilya1-0/+13