Commit graph

9 commits

Author SHA1 Message Date
Harsh Shandilya
5509558eed
Parameterize key and key identifier types for KeyManager (#1669) 2022-01-18 17:40:16 +05:30
Harsh Shandilya
799f1393e4
Make CryptoHandler use Key as the abstraction layer (#1651) 2022-01-09 16:19:52 +05:30
Harsh Shandilya
ccb33af854
Refactor and simplify KeyManager API (#1650) 2022-01-09 10:07:45 +00:00
Harsh Shandilya
674a7d299b
Misc cleanups to build-logic and expand BCV exclusion list (#1622)
* 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-26 06:29:57 +00:00
Harsh Shandilya
208eed4269
Turn on explicit API for Kotlin JVM projects (#1568) 2021-12-03 09:38:33 +00:00
Harsh Shandilya
0fad4d24b5
build: apply kotlin-common convention plugin where applicable 2021-11-16 00:22:17 +05:30
Harsh Shandilya
aac74ae451
Switch new PGP backend to use PGPainless (#1522)
* 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>
2021-10-23 17:02:50 +05:30
Aditya Wasan
b7abd561f5
Add KeyPair and KeyManager to manage keys in the app (#1487)
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2021-08-17 04:14:43 +05:30
Harsh Shandilya
6e4ffe2902
Add initial implementation of Gopenpgp-backed PGP (#1441) 2021-07-11 17:22:26 +00:00