Commit graph

1936 commits

Author SHA1 Message Date
Harsh Shandilya
7570bc8451
Add encrypt/decrypt tests for PGPainless (#1527)
* Remove redundant visibility modifiers

* Move key getter to TestUtils

* Add encrypt/decrypt tests to PGPainlessCryptoHandler
2021-10-28 17:57:05 +05:30
Harsh Shandilya
22ed045ea7
Upgrade dependencies (#1526)
* gradle: upgrade all dependencies

* github: replace gradle-cache-action with official gradle-build-action

* github: update wrapper-validation-action
2021-10-28 07:04:29 +05:30
Harsh Shandilya
aac74ae451
Switch new PGP backend to use PGPainless (#1522)
* crypto-pgpainless: init

* crypto-pgpainless: add an opinionated CryptoHandler impl

* app: migrate to crypto-pgpainless

* crypto-pgp: remove

* github: remove now unused instrumentation tests job

* crypto-common: fixup package names

* wip(crypto-pgpainless): add `PGPKeyPair` and `PGPKeyManager`

Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
(cherry picked from commit 02d07e9e797a8600cc8c534a731dfffcc44cfdde)

* crypto-pgpainless: use hex-encoded key IDs

* crypto-pgpainless: replace legacy Gopenpgp-generated key file

* crypto-pgpainless: fix CryptoConstants source set

* crypto-pgpainless: fix tests

* crypto-pgpainless: reinstate PGPKeyManager tests

Co-authored-by: Aditya Wasan <adityawasan55@gmail.com>
2021-10-23 17:02:50 +05:30
Harsh Shandilya
21c8653e68
Fix proguard rules which prevent whole program minification (#1521) 2021-10-20 11:41:21 +05:30
Harsh Shandilya
6df3ba0083
Upgrade plugin dependencies and fix Javadoc generation (#1517)
* build: upgrade all plugins

* autofill-parser/openpgp-ktx: apply Dokka plugin

* Move repository configuration to settings.gradle.kts

* Replace deprecated lintOptions

* Reorder repositories
2021-10-09 13:13:14 +05:30
Harsh Shandilya
c7fdd913c5
Add installGitHooks task for pre-push Git hooks (#1516)
* build: add a pre-push task and Gradle task to install it

* Document `installGitHooks` in contributing.md
2021-10-08 10:38:09 +05:30
Harsh Shandilya
62d78dd52a
Upgrade AndroidX dependencies (#1514)
Co-authored-by: Aditya Wasan <adityawasan55@gmail.com>
2021-10-06 11:32:02 +00:00
Harsh Shandilya
99586970a1
Cleanup and improve CI checks (#1511) 2021-10-03 12:39:24 +00:00
(´⌣`ʃƪ)
2cef6a5bb4
Replace Timber with logcat (#1509)
* Replace Timber with logcat (#1505)

* Add extension for asLog which takes a message param

Co-authored-by: Aditya Wasan <adityawasan55@gmail.com>
2021-10-03 14:02:15 +05:30
Sanchith Hegde
c4df226cfd
github: Convert issue templates to use forms (#1510) 2021-10-02 20:10:52 +00:00
Harsh Shandilya
1ad08e9671
github: force PR builds to be in the same concurrency group (#1507) 2021-09-29 17:30:32 +05:30
Harsh Shandilya
1c4150abcd
build: bump AndroidX dependencies (#1504) 2021-09-18 17:38:57 +05:30
Harsh Shandilya
571ab4e78e
Gopenpgp related fixes (#1503)
* app: rename new crypto activities

(cherry picked from commit 89be012f995b878affb7e7a592750e130c7f0f2c)

* app: allow alt backends to work without OpenKeychain

(cherry picked from commit 7bf9f01e5ef7bb24700ce3f242e5aabbabbff09e)

* app: rename ENABLE_GOPENPGP to ENABLE_PGP_V2_BACKEND
2021-09-14 22:37:55 +05:30
github-actions[bot]
30cb8cfceb
strings: sync with crowdin (#1498)
Co-authored-by: GitHub Actions <noreply@github.com>
2021-09-04 04:11:09 +00:00
Harsh Shandilya
f00a53c29b
Bump dependencies for Kotlin 1.5.30 (#1497) 2021-09-03 17:49:05 +05:30
Harsh Shandilya
a6b8e79d36
Directly push PSL updates to develop (#1494) 2021-08-28 17:09:10 +05:30
github-actions[bot]
a6757020a7
autofill-parser: update publicsuffixes file (#1493)
Co-authored-by: GitHub Actions <noreply@github.com>
2021-08-28 05:07:19 +00:00
Yash Garg
3c8b700f7e
Fix auto-focus issue on Dialogs with TextInputFields (#1492) 2021-08-27 20:12:29 +00:00
Harsh Shandilya
8c56a1d7b8
Update AndroidX deps (#1491) 2021-08-24 16:03:29 +00:00
github-actions[bot]
d59d1770ea
autofill-parser: update publicsuffixes file (#1489)
Co-authored-by: GitHub Actions <noreply@github.com>
2021-08-21 05:53:48 +00:00
Harsh Shandilya
42220383d3
Bump Gradle and Timber (#1488)
* build: bump to Gradle 7.2

* gradle: bump to Timber 5.0.1
2021-08-18 10:08:40 +05:30
Aditya Wasan
b7abd561f5
Add KeyPair and KeyManager to manage keys in the app (#1487)
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2021-08-17 04:14:43 +05:30
github-actions[bot]
9982562dc4
Update Public Suffix List data (#1485)
Co-authored-by: GitHub Actions <noreply@github.com>
2021-08-14 00:20:59 +00:00
Harsh Shandilya
689a369a3a
Upgrade ConstraintLayout, Material and Timber (#1484) 2021-08-13 22:07:38 +00:00
Harsh Shandilya
a82f8dda86
Disable explicit API for tests (#1483)
* build: disable explicit API for test tasks

* Remove `internal` modifier from test classes
2021-08-13 18:40:34 +05:30
Harsh Shandilya
70137f3191
gradle: switch to our fork of preference testing library (#1481) 2021-08-08 07:44:44 +00:00
Harsh Shandilya
1738364d2f
Make password generator parameter changes reactive (#1480)
* Make XkPassword generator reactive

* Handle empty strings

* Make password generator reactive

* Sync changelog for 1.13.5 release

* Add to changelog
2021-08-08 13:06:26 +05:30
github-actions[bot]
1b54e679b7
Update Public Suffix List data (#1479)
Co-authored-by: GitHub Actions <noreply@github.com>
2021-08-07 10:40:54 +05:30
Harsh Shandilya
6004addf62
Upgrade Compose and other AndroidX libraries (#1477)
* app: re-enable Compose

* app: remove inapplicable lint suppression

* gradle: bump AndroidX dependencies
2021-08-05 02:11:31 +05:30
Harsh Shandilya
1071e0e749
Revamp PSL updates (#1475)
* build: import Mozilla's Gradle plugin for PSL updates

* autofill-parser: add tests for PublicSuffixListLoader

* autofill-parser: regenerate publicsuffixes list

* github: switch to Gradle plugin for PSL updates
2021-07-29 21:23:59 +05:30
Harsh Shandilya
403bb383b5
Upgrade to AGP 7.0.0 (#1474) 2021-07-29 09:54:31 +00:00
Harsh Shandilya
1172c3734f
gradle: bump dependencies (#1473) 2021-07-28 10:02:41 +05:30
Harsh Shandilya
6c73cccd37
PasswordEntry: use update method to write new TOTP values (#1472) 2021-07-26 13:45:59 +05:30
github-actions[bot]
003e757b1c
autofill-parser: update publicsuffixes file (#1470)
Co-authored-by: GitHub Actions <noreply@github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2021-07-24 05:19:18 +00:00
Fabian Meumertzheim
9421fd9872
Don't crash on null Autofill hints (#1469)
Fixes #1468.
2021-07-24 10:30:15 +05:30
Harsh Shandilya
d2832aad13
Bump plugin dependencies (#1467) 2021-07-21 19:39:23 +00:00
Harsh Shandilya
3f81677a36
gradle: bump Dagger to 2.38 (#1465) 2021-07-20 10:14:06 +05:30
Harsh Shandilya
392ad847bf
Cleanup and fix CI tests (#1464) 2021-07-19 16:31:37 +05:30
Harsh Shandilya
921e9f96b9
Refactor TOTP implementation and expand SteamGuard hacks (#1460)
* UriTotpFinder: commonize query parameter handling

* gitignore: add more IDEA files

* TotpFinder: add `findIssuer`

* PasswordEntry: don't eagerly fetch TOTP related fields

* format-common: expand SteamGuard workaround

* CHANGELOG: add SteamGuard workaround
2021-07-17 03:13:16 +05:30
Harsh Shandilya
fd6d0e52fc
Upgrade dependencies and temporarily disable Compose (#1457) 2021-07-15 06:44:05 +00:00
Harsh Shandilya
6e4ffe2902
Add initial implementation of Gopenpgp-backed PGP (#1441) 2021-07-11 17:22:26 +00:00
Harsh Shandilya
9c388e4974
Upgrade remaining dependencies (#1450) 2021-07-02 21:26:19 +00:00
Harsh Shandilya
ae5e109f67
Update AndroidX dependencies (#1449) 2021-07-01 17:31:37 +05:30
github-actions[bot]
262d7c4a86
Sync localisations from Crowdin (#1445)
Co-authored-by: GitHub Actions <noreply@github.com>
2021-06-26 04:53:55 +00:00
Harsh Shandilya
af27a330da
build: upgrade dependencies (#1444)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-06-25 00:28:05 +05:30
Harsh Shandilya
29041cf561
Misc updates (#1440) 2021-06-20 12:00:55 +05:30
Harsh Shandilya
b35a9a948e
Update dependencies (#1437) 2021-06-13 15:36:45 +05:30
Harsh Shandilya
7bbdfcf6f6
Remove LeakCanary from snapshot builds (#1435) 2021-06-07 17:18:17 +00:00
Harsh Shandilya
4918e0dbfc
autofill-parser: add Styx as a supported browser (#1431)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
2021-06-07 10:19:58 +00:00
Harsh Shandilya
f2cab21163
Rollback AppCompat upgrade (#1433) 2021-06-06 11:19:31 +00:00