808cd92d63
CertifyCertificate: Change visibility of internal members to private
2025-03-26 10:54:37 +01:00
8e8d89f85b
Remove Tuple class
2025-03-26 10:39:47 +01:00
2da476179c
Remove unused KeyRingSelectionStrategy implementations
2025-03-26 10:39:47 +01:00
94511a42fa
Rework some more tests
2025-03-26 10:39:47 +01:00
402c340ca0
Port SigningTest
2025-03-26 10:39:46 +01:00
530e7615c5
Introduce PGPainless.toKeyOrCertificate(PGPKeyRing) and constrain argument type of PGPainless.toCertificate(PGPPublicKeyRing)
2025-03-26 10:39:46 +01:00
6627e02de4
Remove SignerUserId check, Policy setting only via constructor parameter
2025-03-26 10:39:46 +01:00
f707d87c67
Port signature validation to BC
2025-03-26 10:39:46 +01:00
b248882f72
Rework ModifiedPublicKeysInvestigation
2025-03-26 10:39:46 +01:00
828a7cd0aa
Avoid usage of PGPainless.getPolicy()
2025-03-26 10:39:46 +01:00
b8df8e16fe
KeySpecBuilder: Do not use PGPainless.getPolicy() method
2025-03-26 10:39:45 +01:00
fda5537fcc
Policy is no longer a Singleton
2025-03-26 10:39:45 +01:00
c1661f53f0
Determine, whether to use AEAD by cosulting KeyRingProtectionSettings
2025-03-26 10:39:45 +01:00
deb79832ce
Port SelectUserId.validUserIds()
2025-03-26 10:39:45 +01:00
4042db262c
Change argument type for toCertificate() method to more general PGPKeyRing
2025-03-26 10:39:45 +01:00
2be5525ec2
Delete SignaturePicker class
2025-03-26 10:39:44 +01:00
e0cc63416d
Port more extension functions
2025-03-26 10:39:44 +01:00
2ea67d656f
Migrate some extension functions
2025-03-26 10:39:44 +01:00
ed775274d5
PGPSignatureExtensions: Port wasIssuedBy() to KeyIdentifier
2025-03-26 10:39:44 +01:00
261838dd2a
Port SecretKeyRingEditor, replace Singleton usage with API instance calls
2025-03-26 10:39:43 +01:00
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