aboutsummaryrefslogtreecommitdiffstats
path: root/crypto-pgpainless
AgeCommit message (Collapse)AuthorFilesLines
2023-08-10refactor: un-flatten module structureHarsh Shandilya23-1450/+0
2023-07-31fix(deps): update bouncycastle to v1.76 (#2632)renovate[bot]1-1/+1
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2023-07-19chore: remove useless `OptIn` annotationsHarsh Shandilya1-1/+0
2023-07-05feat(crypto-pgpainless): run usability test when adding keysHarsh Shandilya2-0/+11
2023-07-05feat(crypto-pgpainless): add `KeyUtils#isKeyUsable`Harsh Shandilya5-0/+196
2023-06-19fix(pgpainless): add metadata test to decryption stepHarsh Shandilya1-13/+21
2023-06-15refactor: consistently adopt PGP over GPG for namingHarsh Shandilya6-28/+28
PGP is the standard, GPG is an implementation of it. We're adhering to PGP, and not using GPG.
2023-06-15fix: address `ComposeUnstableCollections` lintHarsh Shandilya1-1/+1
2023-06-15chore: rename TOML keys for coroutines depsHarsh Shandilya1-2/+2
2023-06-04chore: refresh lint baselineHarsh Shandilya1-1/+1
2023-05-18refactor: add missing docs and add explicit `NoKeysProvidedException`Harsh Shandilya4-11/+46
2023-05-06refactor(pgpainless): rework `runTest` invocationHarsh Shandilya1-59/+22
2023-04-29fix(deps): update dependency com.facebook:ktfmt to v0.44 (#2490)renovate[bot]3-3/+5
* 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-04-27feat(lint): update baselinesHarsh Shandilya1-0/+4
2023-04-27refactor(build): introduce a standalone plugin for Kotlin JVM librariesHarsh Shandilya1-2/+1
2023-03-25fix: remove NoKeysProvided errorHarsh Shandilya1-3/+2
We're making this invariant impossible in the code paths that hit it
2023-03-21fix(build): remove `DSL_SCOPE_VIOLATION` suppressionHarsh Shandilya1-2/+0
This was a Gradle bug that is now fixed https://docs.gradle.org/8.1-rc-1/release-notes.html#:~:text=Access%20to%20version%20catalog%20for%20plugins%20in%20the%20plugins%20%7B%7D%20block
2022-11-09feat(crypto-pgpainless): add PGPKeyManager test for keys with shared emailHarsh Shandilya3-0/+69
2022-11-09feat(crypto-pgpainless): add PGPainlessCryptoHandler test for keys with ↵Harsh Shandilya1-5/+45
shared email
2022-11-07fix(crypto-pgpainless): pass test parameter directly where neededHarsh Shandilya1-4/+4
Prevents unnecessary runs of tests that don't use the parameter
2022-10-29feat(app): wire in ASCII armor toggleHarsh Shandilya1-1/+3
2022-10-29feat(crypto-pgpainless): add a test for ASCII outputHarsh Shandilya1-0/+18
2022-10-29feat(crypto-common): support passing arbitrary crypto optionsHarsh Shandilya4-1/+64
2022-10-24chore(gradle): add missing suppressions and license headersHarsh Shandilya1-0/+1
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 Shandilya2-19/+18
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 Shandilya2-10/+9
2022-07-18crypto: consistently use secret key nomenclatureHarsh Shandilya7-40/+39
2022-07-17crypto-pgpainless: allow updating existing keys automatically for specific casesHarsh Shandilya2-19/+77
2022-07-16Add missing asserts to PGPainlessCryptoHandler tests (#2010)Harsh Shandilya1-16/+23
Add missing asserts
2022-07-16Use `KeyRingUtils#publicKeyRingCollectionFrom` to extract public keys (#2009)Harsh Shandilya2-15/+16
2022-07-15all: re-do package structure yet againHarsh Shandilya11-36/+36
2022-07-13Fix PGPainless backend key handling (#2000)Harsh Shandilya3-12/+35
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 Shandilya2-5/+4
* 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 Shandilya3-16/+16
2022-04-27crypto-pgpainless: prepare for error handling (#1877)Harsh Shandilya2-31/+74
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 Shandilya2-14/+23
2022-03-23fix: ignore `CancellationException` in suspend functions (#1794)Aditya Wasan2-7/+8
* 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 Shandilya2-0/+17
2022-02-21Add failing test for multiple identities (#1741)Harsh Shandilya6-20/+191
2022-01-18Parameterize key and key identifier types for KeyManager (#1669)Harsh Shandilya9-50/+191
2022-01-09Make CryptoHandler use Key as the abstraction layer (#1651)Harsh Shandilya7-57/+94
2022-01-09Refactor and simplify KeyManager API (#1650)Harsh Shandilya5-99/+125
2021-12-26Misc cleanups to build-logic and expand BCV exclusion list (#1622)Harsh Shandilya1-31/+0
* build-logic: remove `kotlin-dsl-precompiled-script-plugins` plugin * build-logic: use generated accessors for extensions * build: exclude non-published library projects from API dump There's no point in tracking binary compatibility for libraries that are only used internally
2021-12-03Turn on explicit API for Kotlin JVM projects (#1568)Harsh Shandilya1-1/+1