Commit graph

16 commits

Author SHA1 Message Date
Harsh Shandilya
5803f0244a Reapply "refactor: use Closeable#use extension where applicable"
This reverts commit 04f4b9804f.
2024-09-28 23:35:54 +05:30
Harsh Shandilya
04f4b9804f Revert "refactor: use Closeable#use extension where applicable"
This reverts commit 69513bf246.
2024-09-26 17:49:58 +05:30
Harsh Shandilya
69513bf246 refactor: use Closeable#use extension where applicable 2024-09-22 23:51:55 +05:30
Harsh Shandilya
282e9519ae chore: add missing copyright headers and update existing ones 2024-08-14 00:31:25 +05:30
Greg Renda
b5b7f746df
fix null pointer exception when using public only keys (#3143) (#3144)
Co-authored-by: Greg Renda <greg@renda.org>
2024-07-30 18:31:10 +00:00
Harsh Shandilya
c980c898de chore: reformat with trailing commas changes 2024-05-28 15:11:50 +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
6fe80fb4b3 fix(pgpainless): remove incorrect check
I don't believe this ever made sense to check in the decryption phase
2024-05-25 20:48:20 +05:30
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]
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
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
41c86b67f3
refactor: use runSuspendCatching from kotlin-result 2023-09-28 01:29:24 +05:30
renovate[bot]
6fa7b63a93
fix(deps): update dependency com.facebook:ktfmt to v0.46 (#2689)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-19 18:47:29 +00:00
renovate[bot]
9329710178
fix(deps): update dependency com.facebook:ktfmt to v0.45 (#2687)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2023-09-18 18:15:11 +00:00
Harsh Shandilya
959a56d7ff
refactor: un-flatten module structure 2023-08-10 03:31:08 +05:30