Commit graph

1723 commits

Author SHA1 Message Date
Harsh Shandilya
06fbe6cf9c refactor: refine CryptoRepository#{encrypt,decrypt} APIs 2024-07-24 00:32:33 +05:30
Harsh Shandilya
1c6bbc51c3 fix: use the same decryption flow in autofill
Fixes #3131
2024-07-24 00:28:42 +05:30
Harsh Shandilya
8095ee4d6e refactor: import-alias BiometricAuthenticator.Result 2024-07-24 00:28:09 +05:30
Harsh Shandilya
a064116e80 fix: only show cache checkbox when enabled 2024-07-23 01:57:41 +05:30
agrahn
080387ce75
add checkbox in passphrase dialog to clear cache (#3127)
* add checkbox in passphrase dialog to clear cache

* instantiating PasswordDialog via newInstance, passing args as Bundle

* refactor: put checkbox directly in the layout

---------

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2024-07-22 16:32:55 +00:00
agrahn
763fa9e459
enabling pgp passphrase cache with authentication (#3124)
* enabling pgp passphrase cache with authentication

* clear passphrase cache on first autofill decrypt after screen off

---------

Co-authored-by: Alexander Grahn <me@null.org>
2024-07-20 15:46:26 +00:00
agrahn
66675864ae
clear passphrase cache, fix application crash on auto screen-off (#3108)
clear passphrase chache on screen-off
2024-07-02 09:37:39 +00:00
renovate[bot]
0101ba17ee
fix(deps): update dependency com.android.tools.build:gradle to v8.5.0 (#3094)
* fix(deps): update dependency com.android.tools.build:gradle to v8.5.0

* chore: refresh Lint baseline

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2024-06-14 13:33:56 +00:00
Harsh Shandilya
054832bf6e
Sync localisations from Crowdin (#3084)
strings: sync with crowdin

Co-authored-by: GitHub Actions <noreply@github.com>
2024-06-09 00:28:02 +00:00
Harsh Shandilya
f60c20060d refactor(ui): tokenize spacing 2024-05-29 02:43:15 +05:30
Harsh Shandilya
4939153e81 fix: bundle JetBrainsMono for monospace use cases 2024-05-29 01:59:01 +05:30
Harsh Shandilya
c980c898de chore: reformat with trailing commas changes 2024-05-28 15:11:50 +05:30
Harsh Shandilya
6239809964 fix: convert SettingsActivity to onBackPressedDispatcher 2024-05-28 15:03:12 +05:30
Harsh Shandilya
68636cdcb6 Revert "refactor: properly use OnBackPressedDispatcher"
Narrator: it was in fact not proper

This reverts commit 7c9e563d96.
2024-05-28 14:31:28 +05:30
Harsh Shandilya
3266a1b033 refactor(compose): make theme decisions within APSTheme 2024-05-28 00:35:22 +05:30
Harsh Shandilya
0f9540a645
feat(pgpainless): add detection for passphrase-less messages (#3069)
* WIP: feat(pgpainless): add detection for passphrase-less messages

* refactor: test keys instead of the message

This makes more logical sense
2024-05-27 15:29:20 +00:00
Harsh Shandilya
173e802a36 feat: add option to auto clear passphrase cache
Fixes #3053
2024-05-26 02:08:09 +05:30
Harsh Shandilya
3a63334815 fix: restore monospace typeface for passwords
Fixes #3066
2024-05-26 01:06:38 +05:30
renovate[bot]
8bae8dfe25
fix(deps): update kotlin and compose to v2 (major) (#3064)
* fix(deps): update kotlin and compose to v2

* fix(build): switch to Kotlin Compose Compiler

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2024-05-22 07:12:27 +00:00
Oleh Kopeykin
86466819a9
Fix obtaining pgp identifiers to decrypting file. (#3009) 2024-04-17 18:49:31 +00:00
Harsh Shandilya
87738477be fix: special-case AEAD failure
Fixes #2974
Fixes #2963
Fixes #2921
Fixes #2924
Fixes #2653
Fixes #2461
Fixes #2586
Fixes #2179
2024-04-14 23:19:31 +05:30
renovate[bot]
0fe01f1650
fix(deps): update dependency org.bouncycastle:bcprov-jdk18on to v1.78 (#2986)
* fix(deps): update dependency org.bouncycastle:bcprov-jdk18on to v1.78

* fix(deps): add missing bcutil dependency

* fix(build): drop multi-release JAR artifacts from APK

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2024-04-06 10:00:30 +00:00
renovate[bot]
48067b4a01
fix(deps): update kotlinresult to v1.1.21 (#2958)
* fix(deps): update kotlinresult to v1.1.21

* refactor: fix deprecation warnings

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2024-03-17 06:33:48 +00:00
Harsh Shandilya
f942da3bd3
Sync localisations from Crowdin (#2959)
strings: sync with crowdin

Co-authored-by: GitHub Actions <noreply@github.com>
2024-03-17 00:25:43 +00:00
Harsh Shandilya
69bdd1518c refactor: improve passphrase cache save logic 2024-03-12 13:05:55 +05:30
Harsh Shandilya
5082df2f93 fix: clear passphrase cache when disabling 2024-03-12 13:04:32 +05:30
Harsh Shandilya
0d7d6eae79 fix(autofill): populate passphrase cache on successful decryption 2024-03-12 12:39:29 +05:30
Harsh Shandilya
b9f5ac9b9c
fix: remove cleartext check from StrictMode
Apparently this is tripping up SSHJ.

Probably fixes #2580

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2024-03-10 21:30:04 +05:30
Harsh Shandilya
fe6742d306
Sync localisations from Crowdin (#2943)
strings: sync with crowdin

Co-authored-by: GitHub Actions <noreply@github.com>
2024-03-10 00:25:19 +00:00
Harsh Shandilya
b1fd268400
Sync localisations from Crowdin (#2888)
* strings: sync with crowdin

* chore: refresh Lint baseline

---------

Co-authored-by: GitHub Actions <noreply@github.com>
2024-02-04 15:12:08 +00:00
renovate[bot]
badec6409e
fix(deps): update dependency com.slack.lint.compose:compose-lint-checks to v1.3.1 (#2874)
* fix(deps): update dependency com.slack.lint.compose:compose-lint-checks to v1.3.1

* refactor: address issues from compose-lints 1.3.x

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2024-01-26 09:42:23 +00:00
Harsh Shandilya
2e1b9575e8 chore(deps): upgrade androidx.activity 2024-01-25 00:52:53 +05:30
Harsh Shandilya
7c9e563d96 refactor: properly use OnBackPressedDispatcher 2024-01-22 00:03:41 +05:30
Harsh Shandilya
964059e0da fix: route navigation events correctly
Fixes #2865
2024-01-21 23:48:44 +05:30
Harsh Shandilya
3a7d298a6f fix: restore copy-on-decrypt feature 2024-01-17 16:37:48 +05:30
Harsh Shandilya
6ef7943507
Sync localisations from Crowdin (#2841)
strings: sync with crowdin

Co-authored-by: GitHub Actions <noreply@github.com>
2023-12-31 00:28:34 +00:00
Harsh Shandilya
ef39ef94cf Revert "fix: check if passphrase is necessary before asking for it"
Didn't fix the issue.

This reverts commit d8f76b33e9.
2023-12-27 23:57:49 +05:30
Harsh Shandilya
d8f76b33e9 fix: check if passphrase is necessary before asking for it
Updates #2836
2023-12-25 15:36:01 +05:30
Harsh Shandilya
d9a7c46ba9
refactor: rework BiometricAuthenticator API
Align internal representation with the AndroidX documentation
2023-12-17 18:38:32 +05:30
Mathias Rav
97bc1e0ce5
Add snackbar error message when .gpg-id contains a short hex id (#2819) 2023-12-16 21:41:26 +05:30
Harsh Shandilya
ced2008a85
Revert "Refactor SSHKey into a separate module (#2450)"
This reverts commit 97b3577a46.
2023-12-15 18:53:58 +05:30
Harsh Shandilya
4d5b32d98b
Revert "feat: put new SSH layer behind a feature flag"
This reverts commit fb8d74fc1f.
2023-12-15 18:53:58 +05:30
Harsh Shandilya
a04d6fa9f4
fix: temporarily disable pre-launch biometric auth (#2803)
* fix: temporarily disable pre-launch biometric auth

Completely broken right now and prevents users from opening the app.

Updates #2802

* fix: disable UnusedResources lint
2023-12-10 22:55:25 +05:30
Harsh Shandilya
d00626d5d3
Sync localisations from Crowdin (#2801)
* strings: sync with crowdin

* fix: use ellipsis character

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* fix: use more ellipses

---------

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Co-authored-by: GitHub Actions <noreply@github.com>
2023-12-10 17:02:01 +00:00
Harsh Shandilya
c75000f910
Sync localisations from Crowdin (#2793)
strings: sync with crowdin

Co-authored-by: GitHub Actions <noreply@github.com>
2023-12-03 00:27:58 +00:00
Harsh Shandilya
f0d09584fb
fix(android): add an implementation for Exact filter mode
Will be eventually exposed to the UI
2023-11-30 15:51:16 +05:30
Harsh Shandilya
7475f2fb13
fix: replace Enum.values() with Enum.entries 2023-11-30 14:45:34 +05:30
Harsh Shandilya
14cc25af14
Revert "feat: try out new SSH layer again"
Should've tested this before pushing, still broken lol.

This reverts commit 23b4d2a6c1.
2023-11-30 13:26:45 +05:30
Harsh Shandilya
23b4d2a6c1
feat: try out new SSH layer again
The underlying bug that we hit before has been fixed so this is ready for another try
2023-11-30 13:09:11 +05:30
Harsh Shandilya
891455d7a7
fix: gate passphrase cache behind authenticator availability
Fixes #2783
2023-11-29 19:39:25 +05:30