f2bd36502f
Policy is no longer a Singleton
2025-08-20 11:41:07 +02:00
1afcbacb04
Determine, whether to use AEAD by cosulting KeyRingProtectionSettings
2025-08-20 11:41:07 +02:00
6f3808466f
Port SelectUserId.validUserIds()
2025-08-20 11:41:07 +02:00
aabc8aa3a1
Change argument type for toCertificate() method to more general PGPKeyRing
2025-08-20 11:41:07 +02:00
264eb1c8a6
Delete SignaturePicker class
2025-08-20 11:41:07 +02:00
dc1da5ff49
Fix test name
2025-08-20 11:41:07 +02:00
efc20145b1
Port more extension functions
2025-08-20 11:41:06 +02:00
fad3974b21
Migrate some extension functions
2025-08-20 11:41:06 +02:00
6d25ddefab
PGPSignatureExtensions: Port wasIssuedBy() to KeyIdentifier
2025-08-20 11:41:06 +02:00
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