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
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
7af4689bb7
Fix spotless error
2025-08-20 11:40:04 +02:00
b563e43c78
Add comments to OpenPGPKeyVersion
2025-08-20 11:40:04 +02:00
a23e573658
Add comments to HashAlgorithm
2025-08-20 11:40:04 +02:00
b9ee09a774
Add javadoc
2025-08-20 11:40:04 +02:00
b8bdb5bbe5
Clean up KeyAccessor class
2025-08-20 11:40:03 +02:00
f37d4a4450
Complete migration of KeyRingInfo to KeyIdentifier, javadoc
2025-08-20 11:40:03 +02:00
c886b56faf
Replace KeyRingInfo.publicKey with primaryKey
2025-08-20 11:40:03 +02:00
6eaa483650
Improve KeyRingInfos getPreferences implementations
2025-08-20 11:40:03 +02:00
35c6116643
Migrate from MissingPublicKeyCallback to OpenPGPCertifcateProvider
2025-08-20 11:40:03 +02:00
2eca5f0ef0
Fix addSubkey method
2025-08-20 11:40:03 +02:00
d5a0c83abe
Fix some tests
2025-08-20 11:40:02 +02:00