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
1eb50c7454
UserId: Remove deprecated method usage
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
e5273fe3d9
More API down-handing
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
bb31437ebf
Code cleanup
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
f38b64b4ae
Use relaxed PBE parameters
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
535bb0811f
Implement applying algorithm preferences as extension functions
2025-03-26 10:39:37 +01:00
7afb7ab920
Work on AlgorithmSuite
2025-03-26 10:39:36 +01:00
920c3f3d28
Add getKeyVersion() extension methods to certificate + subclasses and use it in KeyRingInfo.version
2025-03-26 10:39:35 +01:00
8ee68c2f47
Migrate from MissingPublicKeyCallback to OpenPGPCertifcateProvider
2025-03-26 10:39:33 +01:00
a58a111d4b
Fix some tests
2025-03-26 10:39:33 +01:00
94211a7d07
Port SignatureBuilders over to new classes
2025-03-26 10:39:32 +01:00
724de3e300
Remove unnecessary imports
2025-03-26 10:39:32 +01:00
17e8c1f88d
Add workaround for decryption with non-encryption subkey
2025-03-26 10:39:32 +01:00
fe0f022ddf
Port CanonicalizedDataEncryptionTest
2025-03-26 10:39:31 +01:00
138203a021
Port Sign and UnlockSecretKeys examples
2025-03-26 10:39:31 +01:00
d13e3deabf
Port ReadKeys example
2025-03-26 10:39:31 +01:00
0b891162e3
Progress porting the example tests
2025-03-26 10:39:31 +01:00
0aedd53eff
Port test
2025-03-26 10:39:30 +01:00
4ab4a06936
Port EncryptionOptions over to OpenPGPCertificate
2025-03-26 10:39:30 +01:00
0453109463
Even more migration and code compiles again
2025-03-26 10:39:30 +01:00
d4084dbc9a
WIP: Transform Options and OpenPgpMessageInputStream
2025-03-26 10:39:29 +01:00
35ecb086fe
Change return type of KeyRingBuilder.build() to OpenPGPKey
2025-03-26 10:39:29 +01:00
c9dba65378
Tests: Remove unused throws declarations
2025-03-26 10:39:29 +01:00
dbc119bac6
Fix tests
2025-03-26 10:39:28 +01:00
bac4e633a4
KeyRingInfo: Expose OpenPGPComponentKey in place of PGPPublicKey, OpenPGPSecretKey instead of PGPSecretKey
2025-03-26 10:39:28 +01:00
9a13183f30
Change type of KeyRingInfo.publicKey to OpenPGPPrimaryKey
2025-03-26 10:39:28 +01:00
afc7b86a92
Further integration of OpenPGPCertificate into KeyRingInfo
2025-03-26 10:39:27 +01:00
96fd965b77
Add some debug checks to test
2025-03-26 10:39:27 +01:00
c88dbbf36a
Fix some tests
2025-03-26 10:39:27 +01:00
584adf2477
Fix test stability
2025-03-26 10:39:27 +01:00
e706923154
Add missing license headers
2025-03-26 10:39:26 +01:00
055764971e
Basic v6 key generation test
2025-03-26 10:39:26 +01:00
f63d07ab92
Pass version down in tests
2025-03-26 10:39:26 +01:00
26aeeafdcf
Adapt PGPKeyPairGenerator and remove support for generating ElGamal keys
2025-03-26 10:39:25 +01:00
883eb80a63
Bump bcpg, bcprov to 1.80, add bcutil dependency
...
Adding bcutil as a dependency is apparently required now.
See https://github.com/bcgit/bc-java/issues/1977
2025-03-11 22:04:03 +01:00
Bastien JANSEN
4185bf0326
Fix #469
2025-03-11 17:58:42 +01:00
8d03810bf3
Fix typo in test
2025-02-18 14:26:01 +01:00
391549a7d6
Revert "Ensure proper compatibility with keys with missing direct-key or certification self-sigs"
...
This reverts commit 620c1fc96a .
2024-12-21 10:27:06 +01:00
b99822f405
Ignore certificate signatures of unknown type
2024-11-19 13:58:54 +01:00
67457bbe78
Replace use of addPassphrase()/addDecryptionPassphrase() in tests with addMessagePassphrase()
2024-08-22 13:42:30 +02:00
0378145b21
Merge branch 'eddsaLegacy'
2024-06-21 13:57:49 +02:00
dd3ef89a5c
Add (failing) test for extracting certificate from key with unknown secret key encryption method
2024-04-10 10:47:13 +02:00