1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2025-12-06 20:31:08 +01:00
Commit graph

684 commits

Author SHA1 Message Date
cb7c61cf10
Replace SignatureVerifier usage with BC API 2025-06-17 13:31:04 +02:00
7db10432fe
Port MessageInspector 2025-06-17 13:31:04 +02:00
8c58ca620d
Rename new CertifyCertificate API methods and add revocation methods 2025-06-17 13:31:03 +02:00
a8cbd36a52
Test v6 third party certification generation 2025-06-17 13:31:02 +02:00
312a00e5d4
Remove Tuple class 2025-06-17 13:31:02 +02:00
57b6795513
Remove unused KeyRingSelectionStrategy implementations 2025-06-17 13:31:02 +02:00
acbb93066e
Rework some more tests 2025-06-17 13:31:02 +02:00
9a7aeae9fa
Port SigningTest 2025-06-17 13:31:02 +02:00
221d329254
Remove SignerUserId check, Policy setting only via constructor parameter 2025-06-17 13:31:01 +02:00
4c180bbd59
Port signature validation to BC 2025-06-17 13:31:01 +02:00
63d1f855de
Rework ModifiedPublicKeysInvestigation 2025-06-17 13:31:01 +02:00
2d42457ce4
Policy is no longer a Singleton 2025-06-17 13:31:00 +02:00
3a28b33355
Delete SignaturePicker class 2025-06-17 13:31:00 +02:00
b828e5477c
Migrate some extension functions 2025-06-17 13:30:59 +02:00
57540d8028
Port SecretKeyRingEditor, replace Singleton usage with API instance calls 2025-06-17 13:30:58 +02:00
2a71a98bba
Add more deprecation annotations, workaround for BC armor bug 2025-06-17 13:30:58 +02:00
bca4ddcb6f
Remove ProviderFactory classes
It is no longer possible to inject custom SecurityProviders.
Instead, you can create and inject your own implementation of BCs OpenPGPImplementation
2025-06-17 13:30:58 +02:00
429186c5e1
UserId: Remove deprecated method usage 2025-06-17 13:30:57 +02:00
77890cc933
Remove deprecated KeyInfo class
If you relied on it, replace its usage with the Kotlin extension functions as documented.
If you are using Java, use static methods from PGPPublicKeyExtensionsKt and PGPSecretKeyExtensionsKt instead.
2025-06-17 13:30:57 +02:00
93ee037ef0
Move default parameters of Options classes to factory methods 2025-06-17 13:30:57 +02:00
7e345a0e33
More API down-handing 2025-06-17 13:30:56 +02:00
0e48e94a91
Pass down API instance 2025-06-17 13:30:56 +02:00
1967483984
More code cleanup 2025-06-17 13:30:55 +02:00
d6d52cd544
Code cleanup 2025-06-17 13:30:55 +02:00
0ff347b836
Fix GenerateV6KeyTest.generateAEADProtectedModernKey() test 2025-06-17 13:30:55 +02:00
e284fca0f8
Rework Policy to be immutable. Changes are now done by calling policy.copy().withXYZ().build() 2025-06-17 13:30:54 +02:00
d92ae054d9
Use relaxed PBE parameters 2025-06-17 13:30:53 +02:00
34633cfeac
Tests: Avoid usage of now deprecated functionality 2025-06-17 13:30:52 +02:00
42c262a99f
Remove ImplementationFactory in favor of BCs OpenPGPImplementation 2025-06-17 13:30:52 +02:00
f9c2ade2d0
Implement applying algorithm preferences as extension functions 2025-06-17 13:30:52 +02:00
5de1e6a56d
Work on AlgorithmSuite 2025-06-17 13:30:51 +02:00
ac0c37925a
Add getKeyVersion() extension methods to certificate + subclasses and use it in KeyRingInfo.version 2025-06-17 13:30:50 +02:00
1379942c07
Migrate from MissingPublicKeyCallback to OpenPGPCertifcateProvider 2025-06-17 13:30:48 +02:00
b61ba46d24
Fix some tests 2025-06-17 13:30:47 +02:00
88df92fd1f
Port SignatureBuilders over to new classes 2025-06-17 13:30:46 +02:00
58a96b5776
Remove unnecessary imports 2025-06-17 13:29:32 +02:00
0583a826d1
Add workaround for decryption with non-encryption subkey 2025-06-17 13:29:31 +02:00
23cb47365e
Port CanonicalizedDataEncryptionTest 2025-06-17 13:29:31 +02:00
0ea19d3b9a
Port Sign and UnlockSecretKeys examples 2025-06-17 13:29:31 +02:00
9e9ccc8624
Port ReadKeys example 2025-06-17 13:29:31 +02:00
df1d74962b
Progress porting the example tests 2025-06-17 13:29:31 +02:00
a54382a78e
Port test 2025-06-17 13:29:30 +02:00
0b4f1a0f01
Port EncryptionOptions over to OpenPGPCertificate 2025-06-17 13:29:30 +02:00
0b165ee273
Even more migration and code compiles again 2025-06-17 13:29:29 +02:00
217a25bd62
WIP: Transform Options and OpenPgpMessageInputStream 2025-06-17 13:29:29 +02:00
53053cf3fc
Change return type of KeyRingBuilder.build() to OpenPGPKey 2025-06-17 13:29:29 +02:00
ead93345e4
Tests: Remove unused throws declarations 2025-06-17 13:29:28 +02:00
7991af06d4
Fix tests 2025-06-17 13:29:28 +02:00
41a1d0d596
KeyRingInfo: Expose OpenPGPComponentKey in place of PGPPublicKey, OpenPGPSecretKey instead of PGPSecretKey 2025-06-17 13:29:28 +02:00
1738fb1d7d
Change type of KeyRingInfo.publicKey to OpenPGPPrimaryKey 2025-06-17 13:29:27 +02:00