Commit graph

3401 commits

Author SHA1 Message Date
Harsh Shandilya
fb8d74fc1f
feat: put new SSH layer behind a feature flag
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-10 17:19:32 +05:30
Harsh Shandilya
5e3c08f1da
feat(deps): migrate to Kotlin 1.8.20 2023-04-10 16:20:59 +05:30
Harsh Shandilya
5ab0c53d03
fix: actually apply LeakCanary config changes 2023-04-10 16:20:59 +05:30
renovate[bot]
11be4cf794
chore(deps): update actions/github-script action to v6.4.1 (#2460)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-06 16:17:57 +00:00
Harsh Shandilya
0a16ac7620
fix: only check repo initialization in commit flow 2023-04-06 18:16:09 +05:30
Harsh Shandilya
c4edf7f0e6
feat: wire up key import functionality 2023-04-06 18:14:35 +05:30
Harsh Shandilya
a96f24ac96
fix: use created repository directly 2023-04-06 17:53:14 +05:30
renovate[bot]
3a83713715
fix(deps): update dependency androidx.compose:compose-bom to v2023.04.00 (#2459)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-06 04:01:43 +00:00
renovate[bot]
accb295c43
fix(deps): update dependency androidx.fragment:fragment-ktx to v1.6.0-alpha09 (#2458)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-06 03:52:15 +00:00
renovate[bot]
94776250c5
fix(deps): update dependency androidx.core:core-ktx to v1.10.0 (#2457)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-06 09:12:54 +05:30
Harsh Shandilya
88b6a9ed4c
Update Public Suffix List data (#2455)
autofill-parser: update publicsuffixes file

Co-authored-by: GitHub Actions <noreply@github.com>
2023-04-05 05:10:20 +00:00
renovate[bot]
69696495b9
chore(deps): update peter-evans/create-pull-request action to v5 (#2454)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-05 09:12:18 +05:30
renovate[bot]
08980125be
fix(deps): update dependency io.sentry.android.gradle:io.sentry.android.gradle.gradle.plugin to v3.5.0 (#2453)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 16:29:15 +00:00
renovate[bot]
863b74d024
chore(deps): update dependency gradle to v8.1-rc-3 (#2452)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 21:48:06 +05:30
renovate[bot]
ab8c4f212e
fix(deps): update dependency com.michael-bull.kotlin-result:kotlin-result to v1.1.17 (#2451)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 21:10:02 +05:30
Aditya Wasan
97b3577a46
Refactor SSHKey into a separate module (#2450)
* 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-04-02 18:04:33 +00:00
renovate[bot]
577d6ab55a
fix(deps): update dependency io.sentry:sentry-android to v6.17.0 (#2448)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-31 16:41:57 +05:30
renovate[bot]
08d6278350
fix(deps): update dependency app.cash.turbine:turbine to v0.12.3 (#2447)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-30 13:16:18 +00:00
renovate[bot]
5ff2453772
fix(deps): update dependency app.cash.turbine:turbine to v0.12.2 (#2445)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-30 10:12:52 +05:30
Harsh Shandilya
a3a84f81dc
fix(gradle): CC is now stable 2023-03-29 15:11:46 +05:30
Harsh Shandilya
5a3d751136
chore(build): upgrade to Gradle 8.1 RC2 2023-03-29 15:11:31 +05:30
renovate[bot]
1c184a6fb0
fix(deps): update dependency com.android.tools:r8 to v8.0.40 (#2443)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-29 12:21:37 +05:30
renovate[bot]
0e474e127d
chore(deps): update actions/setup-java action to v3.11.0 (#2442)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-27 19:27:47 +00:00
Harsh Shandilya
25ffacd213
chore: suppress invalid suggestion 2023-03-27 17:53:10 +05:30
Harsh Shandilya
8b97a4a3f1
refactor: migrate to androidx.core APIs for Bundle/Intent API changes 2023-03-27 17:53:10 +05:30
Harsh Shandilya
6931f2d7f5
chore(deps): upgrade to androidx.core 1.10.0-rc01 2023-03-27 17:07:01 +05:30
Harsh Shandilya
8258c08f10
Sync localisations from Crowdin (#2440)
strings: sync with crowdin

Co-authored-by: GitHub Actions <noreply@github.com>
2023-03-27 04:57:23 +00:00
Harsh Shandilya
8e14f8ccaf
feat(build): migrate to Crowdin V2 API 2023-03-26 19:00:38 +05:30
Harsh Shandilya
cb0a2fe6ee
Sync localisations from Crowdin (#2439)
strings: sync with crowdin

Co-authored-by: GitHub Actions <noreply@github.com>
2023-03-26 00:26:24 +00:00
Harsh Shandilya
8af09d5bc8
feat: offer to import a PGP key when none are present 2023-03-25 12:36:13 +05:30
Harsh Shandilya
1e74012656
fix: remove NoKeysProvided error
We're making this invariant impossible in the code paths that hit it
2023-03-25 12:26:01 +05:30
Harsh Shandilya
e2900c26de
fix: use DispatcherProvider in CryptoRepository 2023-03-25 12:26:01 +05:30
Harsh Shandilya
f07bfb2f97
chore: rename import button label string resource 2023-03-25 12:26:01 +05:30
Harsh Shandilya
e3eb6b1c9c
fix: ensure repo dir is recreated after deletion 2023-03-25 11:30:19 +05:30
Harsh Shandilya
3761de8783
fix(gradle): turn off R8 full mode 2023-03-25 11:30:19 +05:30
renovate[bot]
a8f19a16dc
chore(deps): update plugin com.gradle.enterprise to v3.12.6 (#2437)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 15:49:55 +00:00
renovate[bot]
5627030ae6
fix(deps): update dependency com.google.testparameterinjector:test-parameter-injector to v1.11 (#2438)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 21:05:35 +05:30
renovate[bot]
5a3532d11a
fix(deps): update dependency com.vanniktech:gradle-maven-publish-plugin to v0.25.1 (#2436)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 12:28:04 +00:00
Harsh Shandilya
73de8ba267
fix: extract hard-coded string 2023-03-24 13:30:14 +05:30
Harsh Shandilya
29eaa09427
feat: add user guidance in PGP key manager screen 2023-03-24 13:17:54 +05:30
renovate[bot]
965c80bbe4
chore(deps): update actions/checkout action to v3.5.0 (#2435)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 07:23:55 +00:00
Harsh Shandilya
bebb804e01
fix: adjust LeakCanary init flow 2023-03-24 10:19:02 +05:30
renovate[bot]
7e4ebc0348
fix(deps): update dependency com.vanniktech:gradle-maven-publish-plugin to v0.25.0 (#2434)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 08:03:19 +05:30
Harsh Shandilya
9351e79511
fix(ci): make shadow jobs actually use provided Gradle version 2023-03-23 13:57:38 +05:30
Harsh Shandilya
dbdde9688f
fix(ci): use correct job title for dependency 2023-03-23 13:40:11 +05:30
renovate[bot]
e791677d70
chore(deps): pin usefulness/agp-version-finder-action action to 9084404 (#2433)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-23 13:37:37 +05:30
Harsh Shandilya
9b3fd4b064
fix(ci): make AGP version handling automatic 2023-03-23 12:56:37 +05:30
renovate[bot]
e9e6b24269
fix(deps): update dependency androidx.compose:compose-bom to v2023.03.00 (#2432)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-22 19:31:58 +00:00
renovate[bot]
820a28d6ff
fix(deps): update dependency androidx.fragment:fragment-ktx to v1.6.0-alpha08 (#2430)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-22 19:22:00 +00:00
renovate[bot]
aee5f51884
fix(deps): update lifecycle to v2.6.1 (#2431)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-22 19:13:13 +00:00