b5f8864861
SignatureBuilders: Add constructors taking PGPKeyPairs
2024-03-08 09:28:08 +01:00
62a20b2742
please checkstyle
2024-03-08 09:28:08 +01:00
4e02996c08
Small improvements
2024-03-08 09:28:08 +01:00
7ff63142b4
Instanciate Policy instead of reusing singleton
2024-03-08 09:28:07 +01:00
4a0eef0924
Documentation and primary userIDs
2024-03-08 09:28:07 +01:00
d7ce9764c3
Progress
2024-03-08 09:28:07 +01:00
a368a44f11
WIP: flexible, generic API
2024-03-08 09:28:07 +01:00
6703a514c8
Playing around with mixed opinionated/unopinionated API
2024-03-08 09:28:07 +01:00
251f30fae8
Rename function
2024-03-08 09:28:06 +01:00
9785582bd2
Improve readability of primaryUserId adjustment
2024-03-08 09:28:06 +01:00
2f7266d771
Rename OpenPgpComponentKeyBUilder.key to pair
2024-03-08 09:28:06 +01:00
9cea63529f
Auto-adjust primaryUserId
2024-03-08 09:28:06 +01:00
acd9566dbd
Port KeyRingTemplates.modernKeyRing() to new generator API. Fails test
2024-03-08 09:28:06 +01:00
f08981b78c
Add methods to control direct-key sigs and add unfinished test for primaryUserId test
2024-03-08 09:28:05 +01:00
fa9b07d2ce
Add documentation for toSecretKey method
2024-03-08 09:28:05 +01:00
8e1e90c89a
Document legacy-status of EdDSA and XDH
2024-03-08 09:28:05 +01:00
846b98e3c0
Move comment
2024-03-08 09:28:05 +01:00
f384ce84be
Enforce key capabilities for primary key and add tests
2024-03-08 09:28:05 +01:00
378890f83a
Enforce key algorithm capabilities for subkeys
2024-03-08 09:28:05 +01:00
70da96b064
Document that PublicKeyAlgorithm EdDsa is only for OpenPGP v4
2024-03-08 09:28:04 +01:00
d650ae7371
Rename some classes
2024-03-08 09:28:04 +01:00
05c203177e
Improve image attribute test
2024-03-08 09:28:04 +01:00
0d3fb446a8
Add tests for keys with malformed sig subpackets
2024-03-08 09:28:04 +01:00
b164900a59
Add test for adding image to key
2024-03-08 09:28:04 +01:00
a40c6ac755
WIP: Add method to add image attribute
2024-03-08 09:28:03 +01:00
44a3096467
Rename KeyGenerator and add MalformedKeyGenerationTest
2024-03-08 09:28:03 +01:00
6df4211985
Validate PublicKeyAlgorithmPolicy when generating keys
2024-03-08 09:28:03 +01:00
6c02b9ad44
Add test for SelfSignatureSubpacketsCallback methods
2024-03-08 09:28:03 +01:00
f8b53f0eda
Add back accidentally deleted getFeatures() methods
2024-03-08 09:28:03 +01:00
02f6e37c4f
Further progress
2024-03-08 09:28:03 +01:00
6416ef1e07
Progress
2024-03-08 09:28:02 +01:00
f611f54cad
Add SignatureSubpacketCallback.then()
2024-03-08 09:28:02 +01:00
54a9b4f258
Better differentiate Base- and OpenPgpKeyBuilder
2024-03-08 09:28:02 +01:00
3b335fa627
Progress
2024-03-08 09:28:02 +01:00
699a5eabfc
Add method for adding user attribute
2024-03-08 09:28:02 +01:00
35a68823bd
Further progress
2024-03-08 09:28:01 +01:00
92550e35cc
Progress
2024-03-08 09:28:01 +01:00
0e25ada166
WIP: Work on new key generation API
2024-03-08 09:28:01 +01:00
831e2497ed
Introduce ImplementationFactory.getPGPV4KeyPair()
...
Preparation for v6
2024-03-08 09:28:00 +01:00
cbbd980554
Spotless apply
2024-03-05 21:30:28 +01:00
c2abc89d5e
Add tests for PGPKeyRingExtensions
2024-03-05 21:29:47 +01:00
c89c47c491
Add tests for PGPPublicKeyExtensions
2024-03-05 21:17:03 +01:00
e561d58562
Add tests for PGPSecretKeyExtensions
2024-03-05 21:05:34 +01:00
dfbc56fe24
Add tests for PGPSecretKeyRingExtensions
2024-03-05 20:54:15 +01:00
020d411417
Move CachingBcPublicKeyDataDecryptorFactory to org.pgpainless.decryption_verification package
2024-02-21 15:12:29 +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
bd26268533
Add syntactic sugar for SignatureSubpacketCallback factory methods
2024-01-24 18:59:35 +01:00
acd7f15744
Rename LibrePGP features
2024-01-24 11:30:20 +01:00
ce51f4b8cc
Add documentation to AEAD Algorithms
2024-01-24 11:28:35 +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