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
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
a6f3a223b1
Reject data signatures made by non-signing primary key
2024-04-10 10:38:50 +02:00
b756de3082
Rename XDH to XDH_LEGACY
2024-02-21 15:19:33 +01:00
020d411417
Move CachingBcPublicKeyDataDecryptorFactory to org.pgpainless.decryption_verification package
2024-02-21 15:12:29 +01:00
a898323209
Rename KeyType.EDDSA to KeyType.EDDSA_LEGACY
2024-02-21 14:57:02 +01:00
e933af94c7
Rename PublicKeyAlgorithm.EDDSA to EDDSA_LEGACY
2024-02-21 14:52:48 +01:00
252c520ca2
Move org.bouncycastle classes to org.pgpainless.bouncycastle in order to avoid split package
...
See https://github.com/pgpainless/pgpainless/issues/428 for more background information
2024-02-21 14:43:38 +01:00
acd7f15744
Rename LibrePGP features
2024-01-24 11:30:20 +01:00
de9a161252
Accept certification signatures using SHA-1 before 2023-02-01
...
This commit introduces a dedicated SignatureHashAlgorithmPolicy for certification signatures.
The default configuration will accept SHA-1 on sigs created before 2023-02-01.
2024-01-04 18:20:09 +01:00
69f1028fd9
Add method to change expiration time of subkeys
...
Port of e06f60f62c to kotlin
2023-12-15 18:20:51 +01:00
1e33408098
Please the checkstyle checker
2023-11-27 13:26:41 +01:00
Daniel Gultsch
9ab0c35b78
add unit test to read decryption stream beyond end
2023-11-26 10:55:47 +01:00
481dfac455
Revert PassphraseProvider API change
2023-11-15 19:23:52 +01:00