1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2025-09-09 18:29:39 +02:00
Commit graph

2346 commits

Author SHA1 Message Date
c8880619f9
KeySpecBuilder: Do not use PGPainless.getPolicy() method 2025-06-17 13:31:00 +02:00
2d42457ce4
Policy is no longer a Singleton 2025-06-17 13:31:00 +02:00
b24d0ef99c
Determine, whether to use AEAD by cosulting KeyRingProtectionSettings 2025-06-17 13:31:00 +02:00
2ae9c94841
Port SelectUserId.validUserIds() 2025-06-17 13:31:00 +02:00
a00a90c175
Change argument type for toCertificate() method to more general PGPKeyRing 2025-06-17 13:31:00 +02:00
3a28b33355
Delete SignaturePicker class 2025-06-17 13:31:00 +02:00
eefc622f63
Fix test name 2025-06-17 13:30:59 +02:00
665db5ceb6
Port more extension functions 2025-06-17 13:30:59 +02:00
b828e5477c
Migrate some extension functions 2025-06-17 13:30:59 +02:00
053f6cf362
PGPSignatureExtensions: Port wasIssuedBy() to KeyIdentifier 2025-06-17 13:30:59 +02:00
8a48cc40f7
Update some examples in the README file 2025-06-17 13:30:59 +02:00
2200cb7372
SOP: Inject API instance 2025-06-17 13:30:58 +02:00
57540d8028
Port SecretKeyRingEditor, replace Singleton usage with API instance calls 2025-06-17 13:30:58 +02:00
2a71a98bba
Add more deprecation annotations, workaround for BC armor bug 2025-06-17 13:30:58 +02:00
74c821c1e8
GnuPGDummyKeyUtil: Migrate to KeyIdentifier 2025-06-17 13:30:58 +02:00
bca4ddcb6f
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-06-17 13:30:58 +02:00
04160fbe27
Fix javadoc parameter names 2025-06-17 13:30:57 +02:00
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