9041a6c601
Add more deprecation annotations, workaround for BC armor bug
2025-03-26 10:39:43 +01:00
b29cbd34bb
GnuPGDummyKeyUtil: Migrate to KeyIdentifier
2025-03-26 10:39:43 +01:00
49ff4c4afb
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-03-26 10:39:43 +01:00
c5dc7efc12
Fix javadoc parameter names
2025-03-26 10:39:43 +01:00
1eb50c7454
UserId: Remove deprecated method usage
2025-03-26 10:39:42 +01:00
fc9da45d6e
KeyRingUtils: Replace deprecated method usage
2025-03-26 10:39:42 +01:00
c472f02e24
Replace deprecated method usage and make policy injectable in UnlockSecretKey utility class
2025-03-26 10:39:42 +01:00
4646f4319b
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-03-26 10:39:42 +01:00
8b8bd798a3
Move default parameters of Options classes to factory methods
2025-03-26 10:39:42 +01:00
5bc8ae7c2d
ConsumerOptions: Pass down API
2025-03-26 10:39:41 +01:00
e5273fe3d9
More API down-handing
2025-03-26 10:39:41 +01:00
ba39a109d6
Cleanup PGPainless class
2025-03-26 10:39:41 +01:00
e2aa5e332f
Pass down API instance in more places
2025-03-26 10:39:41 +01:00
12ff104cf8
Pass down API instance
2025-03-26 10:39:41 +01:00
d24a4a0883
More code cleanup
2025-03-26 10:39:41 +01:00
eb5dbb0850
Add documentation
2025-03-26 10:39:40 +01:00
bb31437ebf
Code cleanup
2025-03-26 10:39:40 +01:00
bd9337820e
Allow passing creation time into KeyRingTemplates, replace deprecated methods
2025-03-26 10:39:40 +01:00
6916d5f7bb
Fix GenerateV6KeyTest.generateAEADProtectedModernKey() test
2025-03-26 10:39:40 +01:00
fe45ee12be
Rework Policy to be immutable. Changes are now done by calling policy.copy().withXYZ().build()
2025-03-26 10:39:40 +01:00
a1c19020c5
PublicKeyAlgorithms: Update documentation
2025-03-26 10:39:39 +01:00
98d7b7392c
PublicKeyAlgorithm: Ask PublicKeyUtils for algorithm capabilities, add persistent symmetric key algorithm ids
2025-03-26 10:39:39 +01:00
b86714d6a9
Add OpenPGPImplementation.checksumCalculator() extension function
2025-03-26 10:39:39 +01:00
610e8a1930
Replace usage of .let()
2025-03-26 10:39:39 +01:00
91cde1de56
Make secret key protection settings customizable via policy
2025-03-26 10:39:39 +01:00
5b8c598d73
Copy deprecation annotation
2025-03-26 10:39:39 +01:00
d37fe077bc
Rename parameter
2025-03-26 10:39:38 +01:00
f38b64b4ae
Use relaxed PBE parameters
2025-03-26 10:39:38 +01:00
bfbac4563e
WIP: Migrate SecretKeyRingEditor
2025-03-26 10:39:38 +01:00
56508d2527
Transform SignatureSubpackets class into simple wrapper around PGPSignatureSubpacketGenerator
2025-03-26 10:39:38 +01:00
c6c5134f2f
Avoid deprecated API and remove unnecessary code
2025-03-26 10:39:38 +01:00
2b87943916
Tests: Avoid usage of now deprecated functionality
2025-03-26 10:39:38 +01:00
46eebb2dbb
Remove ImplementationFactory in favor of BCs OpenPGPImplementation
2025-03-26 10:39:37 +01:00
a1caf19d54
SigningOptions: Properly init PGPSignatureGenerator to support v6 keys
2025-03-26 10:39:37 +01:00
5441774887
Policy: Change default compression algorithm to UNCOMPRESSED
2025-03-26 10:39:37 +01:00
535bb0811f
Implement applying algorithm preferences as extension functions
2025-03-26 10:39:37 +01:00
d8980ed163
buildKey(): Use BC KeyGenerator, but apply PGPainless algorithm preferences
2025-03-26 10:39:37 +01:00
fb2c6f09ae
Add missing method implementations
2025-03-26 10:39:36 +01:00
7afb7ab920
Work on AlgorithmSuite
2025-03-26 10:39:36 +01:00
02477a18e8
Fix: Do not set IssuerKeyId on v6 key-signatures
2025-03-26 10:39:36 +01:00
ae005357c1
Progress on the migration guide
2025-03-26 10:39:36 +01:00
9217c4f85b
Start working on migration guide
2025-03-26 10:39:36 +01:00
0b11634d27
Add some missing documentation to ConsumerOptions
2025-03-26 10:39:35 +01:00
e7da1bc66a
Rework OnePassSignatureCheck
2025-03-26 10:39:35 +01:00
7f8fc340d8
Add documentation to PolicyAdapter
2025-03-26 10:39:35 +01:00
920c3f3d28
Add getKeyVersion() extension methods to certificate + subclasses and use it in KeyRingInfo.version
2025-03-26 10:39:35 +01:00
bef10a4f68
Fix more spotless formatting errors
2025-03-26 10:39:35 +01:00
a374da74d7
Fix spotless error
2025-03-26 10:39:35 +01:00
00fcd80834
Add comments to OpenPGPKeyVersion
2025-03-26 10:39:34 +01:00
171a7fd7dd
Add comments to HashAlgorithm
2025-03-26 10:39:34 +01:00