aboutsummaryrefslogtreecommitdiff
path: root/crypto-pgpainless/src
AgeCommit message (Collapse)Author
2023-03-25fix: remove NoKeysProvided errorHarsh Shandilya
We're making this invariant impossible in the code paths that hit it
2022-11-09feat(crypto-pgpainless): add PGPKeyManager test for keys with shared emailHarsh Shandilya
2022-11-09feat(crypto-pgpainless): add PGPainlessCryptoHandler test for keys with ↵Harsh Shandilya
shared email
2022-11-07fix(crypto-pgpainless): pass test parameter directly where neededHarsh Shandilya
Prevents unnecessary runs of tests that don't use the parameter
2022-10-29feat(app): wire in ASCII armor toggleHarsh Shandilya
2022-10-29feat(crypto-pgpainless): add a test for ASCII outputHarsh Shandilya
2022-10-29feat(crypto-common): support passing arbitrary crypto optionsHarsh Shandilya
2022-10-11Clean up issues reported by Detekt (crypto-pgpainless.xml) (#2176)LckyDev
2022-09-01Use a simpler SecretKeyRingProtector (#2099)Harsh Shandilya
2022-08-24Implement support for `.gpg-id` (#2080)Harsh Shandilya
2022-08-11Upgrade all dependencies (#2057)Harsh Shandilya
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-18Add `KeyUtils#tryGetEmail`Harsh Shandilya
2022-07-18Rework key deletion to accept an identifierHarsh Shandilya
2022-07-18crypto: consistently use secret key nomenclatureHarsh Shandilya
2022-07-17crypto-pgpainless: allow updating existing keys automatically for specific casesHarsh Shandilya
2022-07-16Add missing asserts to PGPainlessCryptoHandler tests (#2010)Harsh Shandilya
Add missing asserts
2022-07-16Use `KeyRingUtils#publicKeyRingCollectionFrom` to extract public keys (#2009)Harsh Shandilya
2022-07-15all: re-do package structure yet againHarsh Shandilya
2022-07-13Fix PGPainless backend key handling (#2000)Harsh Shandilya
2022-06-14Reimplement PGPainless encryption logic (#1955)Harsh Shandilya
* crypto-pgpainless: reimplement encryption logic * crypto-pgpainless: add an explicit error type for empty keyset
2022-06-04Miscellaneous cleanups (#1934)Harsh Shandilya
* build-logic: cleanups * coroutine-utils-testing: cleanups * coroutine-utils: cleanups * crypto-common: cleanups * crypto-pgpainless: cleanups * format-common: cleanups
2022-05-02Misc cleanups (#1891)Harsh Shandilya
2022-04-27crypto-pgpainless: prepare for error handling (#1877)Harsh Shandilya
2022-04-25all: reformat with ktfmt 0.36Harsh Shandilya
2022-04-24Reorganize crypto-common code and fix a couple minor bugs (#1868)Harsh Shandilya
2022-03-23fix: ignore `CancellationException` in suspend functions (#1794)Aditya Wasan
* 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-22Expand tests for multiple identity keys (#1743)Harsh Shandilya
2022-02-21Add failing test for multiple identities (#1741)Harsh Shandilya
2022-01-18Parameterize key and key identifier types for KeyManager (#1669)Harsh Shandilya
2022-01-09Make CryptoHandler use Key as the abstraction layer (#1651)Harsh Shandilya
2022-01-09Refactor and simplify KeyManager API (#1650)Harsh Shandilya
2021-12-02Cleanup dependency declarations and upgrade to Kotlin 1.6.0 (#1565)Harsh Shandilya
2021-11-15all: spotlessHarsh Shandilya
2021-10-28Add encrypt/decrypt tests for PGPainless (#1527)Harsh Shandilya
* Remove redundant visibility modifiers * Move key getter to TestUtils * Add encrypt/decrypt tests to PGPainlessCryptoHandler
2021-10-23Switch new PGP backend to use PGPainless (#1522)Harsh Shandilya
* 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>