aboutsummaryrefslogtreecommitdiffstats
path: root/crypto-pgpainless/src/main/kotlin
AgeCommit message (Collapse)AuthorFilesLines
2023-08-10refactor: un-flatten module structureHarsh Shandilya7-541/+0
2023-07-05feat(crypto-pgpainless): run usability test when adding keysHarsh Shandilya1-0/+3
2023-07-05feat(crypto-pgpainless): add `KeyUtils#isKeyUsable`Harsh Shandilya1-0/+13
2023-06-19fix(pgpainless): add metadata test to decryption stepHarsh Shandilya1-13/+21
2023-06-15refactor: consistently adopt PGP over GPG for namingHarsh Shandilya3-16/+16
PGP is the standard, GPG is an implementation of it. We're adhering to PGP, and not using GPG.
2023-05-18refactor: add missing docs and add explicit `NoKeysProvidedException`Harsh Shandilya4-11/+46
2023-04-29fix(deps): update dependency com.facebook:ktfmt to v0.44 (#2490)renovate[bot]1-0/+1
* fix(deps): update dependency com.facebook:ktfmt to v0.44 * chore: reformat with ktfmt 0.44 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2023-03-25fix: remove NoKeysProvided errorHarsh Shandilya1-3/+2
We're making this invariant impossible in the code paths that hit it
2022-10-29feat(app): wire in ASCII armor toggleHarsh Shandilya1-1/+3
2022-10-29feat(crypto-common): support passing arbitrary crypto optionsHarsh Shandilya3-1/+60
2022-10-11Clean up issues reported by Detekt (crypto-pgpainless.xml) (#2176)LckyDev1-15/+33
2022-09-01Use a simpler SecretKeyRingProtector (#2099)Harsh Shandilya1-6/+2
2022-08-24Implement support for `.gpg-id` (#2080)Harsh Shandilya1-17/+16
2022-08-11Upgrade all dependencies (#2057)Harsh Shandilya1-10/+2
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-18Add `KeyUtils#tryGetEmail`Harsh Shandilya1-0/+6
2022-07-18Rework key deletion to accept an identifierHarsh Shandilya1-4/+3
2022-07-18crypto: consistently use secret key nomenclatureHarsh Shandilya1-2/+2
2022-07-17crypto-pgpainless: allow updating existing keys automatically for specific casesHarsh Shandilya1-1/+19
2022-07-16Use `KeyRingUtils#publicKeyRingCollectionFrom` to extract public keys (#2009)Harsh Shandilya1-10/+10
2022-07-15all: re-do package structure yet againHarsh Shandilya5-19/+19
2022-07-13Fix PGPainless backend key handling (#2000)Harsh Shandilya1-9/+21
2022-06-14Reimplement PGPainless encryption logic (#1955)Harsh Shandilya1-12/+21
* crypto-pgpainless: reimplement encryption logic * crypto-pgpainless: add an explicit error type for empty keyset
2022-06-04Miscellaneous cleanups (#1934)Harsh Shandilya1-3/+2
* build-logic: cleanups * coroutine-utils-testing: cleanups * coroutine-utils: cleanups * crypto-common: cleanups * crypto-pgpainless: cleanups * format-common: cleanups
2022-04-27crypto-pgpainless: prepare for error handling (#1877)Harsh Shandilya1-31/+50
2022-04-25all: reformat with ktfmt 0.36Harsh Shandilya1-6/+6
2022-04-24Reorganize crypto-common code and fix a couple minor bugs (#1868)Harsh Shandilya1-11/+17
2022-03-23fix: ignore `CancellationException` in suspend functions (#1794)Aditya Wasan1-7/+7
* fix: ignore `CancellationException` in suspend functions Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * build(coroutine-utils): use `api` instead of `implementation` Co-authored-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-02-21Add failing test for multiple identities (#1741)Harsh Shandilya2-20/+20
2022-01-18Parameterize key and key identifier types for KeyManager (#1669)Harsh Shandilya5-36/+134
2022-01-09Make CryptoHandler use Key as the abstraction layer (#1651)Harsh Shandilya3-50/+64
2022-01-09Refactor and simplify KeyManager API (#1650)Harsh Shandilya2-68/+92
2021-10-23Switch new PGP backend to use PGPainless (#1522)Harsh Shandilya3-0/+212
* 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>