429186c5e1
UserId: Remove deprecated method usage
2025-06-17 13:30:57 +02:00
b181efee00
KeyRingUtils: Replace deprecated method usage
2025-06-17 13:30:57 +02:00
7a5ece0907
Replace deprecated method usage and make policy injectable in UnlockSecretKey utility class
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
12fd807f75
ConsumerOptions: Pass down API
2025-06-17 13:30:56 +02:00
7e345a0e33
More API down-handing
2025-06-17 13:30:56 +02:00
f74932c4d0
Cleanup PGPainless class
2025-06-17 13:30:56 +02:00
8a9b5aa567
Pass down API instance in more places
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
62f3a35c02
Add documentation
2025-06-17 13:30:55 +02:00
d6d52cd544
Code cleanup
2025-06-17 13:30:55 +02:00
1e7a357b68
Allow passing creation time into KeyRingTemplates, replace deprecated methods
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
33ee03ee35
PublicKeyAlgorithms: Update documentation
2025-06-17 13:30:54 +02:00
6cfa87201b
PublicKeyAlgorithm: Ask PublicKeyUtils for algorithm capabilities, add persistent symmetric key algorithm ids
2025-06-17 13:30:54 +02:00
a95ebce07b
Add OpenPGPImplementation.checksumCalculator() extension function
2025-06-17 13:30:54 +02:00
6c68285a95
Replace usage of .let()
2025-06-17 13:30:54 +02:00
97e6591f0a
Make secret key protection settings customizable via policy
2025-06-17 13:30:54 +02:00
16a2e77776
Copy deprecation annotation
2025-06-17 13:30:53 +02:00
aace92214a
Rename parameter
2025-06-17 13:30:53 +02:00
d92ae054d9
Use relaxed PBE parameters
2025-06-17 13:30:53 +02:00
18cdf6bbc7
WIP: Migrate SecretKeyRingEditor
2025-06-17 13:30:53 +02:00
3abc2a4e39
Transform SignatureSubpackets class into simple wrapper around PGPSignatureSubpacketGenerator
2025-06-17 13:30:53 +02:00
a25ba5943e
Avoid deprecated API and remove unnecessary code
2025-06-17 13:30:52 +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
321053d66e
SigningOptions: Properly init PGPSignatureGenerator to support v6 keys
2025-06-17 13:30:52 +02:00
fc87d985b6
Policy: Change default compression algorithm to UNCOMPRESSED
2025-06-17 13:30:52 +02:00
f9c2ade2d0
Implement applying algorithm preferences as extension functions
2025-06-17 13:30:52 +02:00
8b5d9af522
buildKey(): Use BC KeyGenerator, but apply PGPainless algorithm preferences
2025-06-17 13:30:51 +02:00
d34cb2db61
Add missing method implementations
2025-06-17 13:30:51 +02:00
5de1e6a56d
Work on AlgorithmSuite
2025-06-17 13:30:51 +02:00
67af718db9
Fix: Do not set IssuerKeyId on v6 key-signatures
2025-06-17 13:30:51 +02:00
69fc590d26
Progress on the migration guide
2025-06-17 13:30:51 +02:00
44d90c600f
Start working on migration guide
2025-06-17 13:30:50 +02:00
9812d4d78c
Add some missing documentation to ConsumerOptions
2025-06-17 13:30:50 +02:00
996984cbb5
Rework OnePassSignatureCheck
2025-06-17 13:30:50 +02:00
63bdff58bf
Add documentation to PolicyAdapter
2025-06-17 13:30:50 +02:00
ac0c37925a
Add getKeyVersion() extension methods to certificate + subclasses and use it in KeyRingInfo.version
2025-06-17 13:30:50 +02:00
07d2311b0e
Fix more spotless formatting errors
2025-06-17 13:30:49 +02:00
0109624020
Fix spotless error
2025-06-17 13:30:49 +02:00
714b5bd9c9
Add comments to OpenPGPKeyVersion
2025-06-17 13:30:49 +02:00
f70792f92d
Add comments to HashAlgorithm
2025-06-17 13:30:49 +02:00
446b8eaaca
Add javadoc
2025-06-17 13:30:49 +02:00
22a1f54a9b
Clean up KeyAccessor class
2025-06-17 13:30:49 +02:00
e53e4f5f3c
Complete migration of KeyRingInfo to KeyIdentifier, javadoc
2025-06-17 13:30:48 +02:00
c00a9709de
Replace KeyRingInfo.publicKey with primaryKey
2025-06-17 13:30:48 +02:00