aboutsummaryrefslogtreecommitdiffstats
path: root/crypto-pgpainless/src/test/kotlin
AgeCommit message (Collapse)AuthorFilesLines
2023-08-10refactor: un-flatten module structureHarsh Shandilya6-506/+0
2023-07-19chore: remove useless `OptIn` annotationsHarsh Shandilya1-1/+0
2023-07-05feat(crypto-pgpainless): run usability test when adding keysHarsh Shandilya1-0/+8
2023-07-05feat(crypto-pgpainless): add `KeyUtils#isKeyUsable`Harsh Shandilya2-0/+25
2023-06-15refactor: consistently adopt PGP over GPG for namingHarsh Shandilya3-12/+12
PGP is the standard, GPG is an implementation of it. We're adhering to PGP, and not using GPG.
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]1-0/+3
* 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>
2022-11-09feat(crypto-pgpainless): add PGPKeyManager test for keys with shared emailHarsh Shandilya1-0/+37
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(crypto-pgpainless): add a test for ASCII outputHarsh Shandilya1-0/+18
2022-10-29feat(crypto-common): support passing arbitrary crypto optionsHarsh Shandilya1-0/+4
2022-08-24Implement support for `.gpg-id` (#2080)Harsh Shandilya1-2/+2
2022-07-18Rework key deletion to accept an identifierHarsh Shandilya1-6/+6
2022-07-18crypto: consistently use secret key nomenclatureHarsh Shandilya4-38/+37
2022-07-17crypto-pgpainless: allow updating existing keys automatically for specific casesHarsh Shandilya1-18/+58
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 Shandilya1-5/+6
2022-07-15all: re-do package structure yet againHarsh Shandilya6-17/+17
2022-07-13Fix PGPainless backend key handling (#2000)Harsh Shandilya1-3/+13
2022-06-04Miscellaneous cleanups (#1934)Harsh Shandilya1-2/+2
* 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 Shandilya1-0/+24
2022-04-24Reorganize crypto-common code and fix a couple minor bugs (#1868)Harsh Shandilya1-3/+6
2022-02-22Expand tests for multiple identity keys (#1743)Harsh Shandilya2-0/+17
2022-02-21Add failing test for multiple identities (#1741)Harsh Shandilya2-0/+27
2022-01-18Parameterize key and key identifier types for KeyManager (#1669)Harsh Shandilya4-14/+57
2022-01-09Make CryptoHandler use Key as the abstraction layer (#1651)Harsh Shandilya3-7/+9
2022-01-09Refactor and simplify KeyManager API (#1650)Harsh Shandilya3-31/+33
2021-12-02Cleanup dependency declarations and upgrade to Kotlin 1.6.0 (#1565)Harsh Shandilya1-35/+43
2021-11-15all: spotlessHarsh Shandilya1-6/+6
2021-10-28Add encrypt/decrypt tests for PGPainless (#1527)Harsh Shandilya5-24/+74
* 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 Shandilya3-0/+176
* 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>