1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2025-09-09 18:29:39 +02:00
Commit graph

2390 commits

Author SHA1 Message Date
24f871c178
Update some examples in the README file 2025-08-20 11:41:06 +02:00
766a22716e
SOP: Inject API instance 2025-08-20 11:41:06 +02:00
4c7d39932f
Port SecretKeyRingEditor, replace Singleton usage with API instance calls 2025-08-20 11:41:03 +02:00
21a167ce24
Add more deprecation annotations, workaround for BC armor bug 2025-08-20 11:40:13 +02:00
777ecb9ee7
GnuPGDummyKeyUtil: Migrate to KeyIdentifier 2025-08-20 11:40:13 +02:00
5f64e92724
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-08-20 11:40:13 +02:00
6951911520
Fix javadoc parameter names 2025-08-20 11:40:13 +02:00
e68c365296
UserId: Remove deprecated method usage 2025-08-20 11:40:12 +02:00
e7954ff6f1
KeyRingUtils: Replace deprecated method usage 2025-08-20 11:40:12 +02:00
b543c2ed2a
Replace deprecated method usage and make policy injectable in UnlockSecretKey utility class 2025-08-20 11:40:12 +02:00
2f6e9abf23
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-08-20 11:40:12 +02:00
3ea51f77be
Move default parameters of Options classes to factory methods 2025-08-20 11:40:12 +02:00
2489237071
ConsumerOptions: Pass down API 2025-08-20 11:40:12 +02:00
35b0cdde7e
More API down-handing 2025-08-20 11:40:11 +02:00
37f6fd100a
Cleanup PGPainless class 2025-08-20 11:40:11 +02:00
b9d7f1281f
Pass down API instance in more places 2025-08-20 11:40:11 +02:00
17c31349a1
Pass down API instance 2025-08-20 11:40:11 +02:00
2ae2389666
More code cleanup 2025-08-20 11:40:11 +02:00
a0624d8ac1
Add documentation 2025-08-20 11:40:10 +02:00
1fee94bf93
Code cleanup 2025-08-20 11:40:10 +02:00
9c591ef6d1
Allow passing creation time into KeyRingTemplates, replace deprecated methods 2025-08-20 11:40:10 +02:00
4f7aea6019
Fix GenerateV6KeyTest.generateAEADProtectedModernKey() test 2025-08-20 11:40:10 +02:00
e46e9fa1f5
Rework Policy to be immutable. Changes are now done by calling policy.copy().withXYZ().build() 2025-08-20 11:40:10 +02:00
abff76de38
PublicKeyAlgorithms: Update documentation 2025-08-20 11:40:09 +02:00
38df5ee36e
PublicKeyAlgorithm: Ask PublicKeyUtils for algorithm capabilities, add persistent symmetric key algorithm ids 2025-08-20 11:40:09 +02:00
14bfd52191
Add OpenPGPImplementation.checksumCalculator() extension function 2025-08-20 11:40:09 +02:00
502a755f20
Replace usage of .let() 2025-08-20 11:40:09 +02:00
b1855d0a13
Make secret key protection settings customizable via policy 2025-08-20 11:40:09 +02:00
671dde0de9
Copy deprecation annotation 2025-08-20 11:40:08 +02:00
27edbd1682
Rename parameter 2025-08-20 11:40:08 +02:00
8a2b8c0ef0
Use relaxed PBE parameters 2025-08-20 11:40:08 +02:00
36abac5fb3
WIP: Migrate SecretKeyRingEditor 2025-08-20 11:40:08 +02:00
8c18cfc74e
Transform SignatureSubpackets class into simple wrapper around PGPSignatureSubpacketGenerator 2025-08-20 11:40:08 +02:00
f30b01c298
Avoid deprecated API and remove unnecessary code 2025-08-20 11:40:07 +02:00
622c62536a
Tests: Avoid usage of now deprecated functionality 2025-08-20 11:40:07 +02:00
76963ec3ec
Remove ImplementationFactory in favor of BCs OpenPGPImplementation 2025-08-20 11:40:07 +02:00
0bc80d86d3
SigningOptions: Properly init PGPSignatureGenerator to support v6 keys 2025-08-20 11:40:07 +02:00
d28b47c1f1
Policy: Change default compression algorithm to UNCOMPRESSED 2025-08-20 11:40:07 +02:00
4dadc7c445
Implement applying algorithm preferences as extension functions 2025-08-20 11:40:06 +02:00
deaf9fa404
buildKey(): Use BC KeyGenerator, but apply PGPainless algorithm preferences 2025-08-20 11:40:06 +02:00
b5386d844e
Add missing method implementations 2025-08-20 11:40:06 +02:00
1141bdf1f8
Work on AlgorithmSuite 2025-08-20 11:40:06 +02:00
5ccd68cdd9
Fix: Do not set IssuerKeyId on v6 key-signatures 2025-08-20 11:40:06 +02:00
350b67bb9e
Progress on the migration guide 2025-08-20 11:40:05 +02:00
b3c088275e
Start working on migration guide 2025-08-20 11:40:05 +02:00
8e3ad2c9ef
Add some missing documentation to ConsumerOptions 2025-08-20 11:40:05 +02:00
1e2e9c2125
Rework OnePassSignatureCheck 2025-08-20 11:40:05 +02:00
3c28660f26
Add documentation to PolicyAdapter 2025-08-20 11:40:05 +02:00
d955341231
Add getKeyVersion() extension methods to certificate + subclasses and use it in KeyRingInfo.version 2025-08-20 11:40:05 +02:00
853de42bc2
Fix more spotless formatting errors 2025-08-20 11:40:04 +02:00