1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-06-28 14:34:49 +02:00
Commit graph

632 commits

Author SHA1 Message Date
Paul Schaub f08981b78c
Add methods to control direct-key sigs and add unfinished test for primaryUserId test 2024-03-08 09:28:05 +01:00
Paul Schaub 846b98e3c0
Move comment 2024-03-08 09:28:05 +01:00
Paul Schaub f384ce84be
Enforce key capabilities for primary key and add tests 2024-03-08 09:28:05 +01:00
Paul Schaub 05c203177e
Improve image attribute test 2024-03-08 09:28:04 +01:00
Paul Schaub 0d3fb446a8
Add tests for keys with malformed sig subpackets 2024-03-08 09:28:04 +01:00
Paul Schaub b164900a59
Add test for adding image to key 2024-03-08 09:28:04 +01:00
Paul Schaub a40c6ac755
WIP: Add method to add image attribute 2024-03-08 09:28:03 +01:00
Paul Schaub 44a3096467
Rename KeyGenerator and add MalformedKeyGenerationTest 2024-03-08 09:28:03 +01:00
Paul Schaub 6df4211985
Validate PublicKeyAlgorithmPolicy when generating keys 2024-03-08 09:28:03 +01:00
Paul Schaub 6c02b9ad44
Add test for SelfSignatureSubpacketsCallback methods 2024-03-08 09:28:03 +01:00
Paul Schaub 02f6e37c4f
Further progress 2024-03-08 09:28:03 +01:00
Paul Schaub 6416ef1e07
Progress 2024-03-08 09:28:02 +01:00
Paul Schaub 54a9b4f258
Better differentiate Base- and OpenPgpKeyBuilder 2024-03-08 09:28:02 +01:00
Paul Schaub 3b335fa627
Progress 2024-03-08 09:28:02 +01:00
Paul Schaub 699a5eabfc
Add method for adding user attribute 2024-03-08 09:28:02 +01:00
Paul Schaub 35a68823bd
Further progress 2024-03-08 09:28:01 +01:00
Paul Schaub 92550e35cc
Progress 2024-03-08 09:28:01 +01:00
Paul Schaub 0e25ada166
WIP: Work on new key generation API 2024-03-08 09:28:01 +01:00
Paul Schaub cbbd980554
Spotless apply 2024-03-05 21:30:28 +01:00
Paul Schaub c2abc89d5e
Add tests for PGPKeyRingExtensions 2024-03-05 21:29:47 +01:00
Paul Schaub c89c47c491
Add tests for PGPPublicKeyExtensions 2024-03-05 21:17:03 +01:00
Paul Schaub e561d58562
Add tests for PGPSecretKeyExtensions 2024-03-05 21:05:34 +01:00
Paul Schaub dfbc56fe24
Add tests for PGPSecretKeyRingExtensions 2024-03-05 20:54:15 +01:00
Paul Schaub 020d411417
Move CachingBcPublicKeyDataDecryptorFactory to org.pgpainless.decryption_verification package 2024-02-21 15:12:29 +01:00
Paul Schaub 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
Paul Schaub acd7f15744
Rename LibrePGP features 2024-01-24 11:30:20 +01:00
Paul Schaub 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
Paul Schaub 69f1028fd9
Add method to change expiration time of subkeys
Port of e06f60f62c to kotlin
2023-12-15 18:20:51 +01:00
Paul Schaub 97455aa256
Add test for handling key with unknown signature subpacket 2023-11-30 19:36:44 +01:00
Paul Schaub 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
Paul Schaub 481dfac455
Revert PassphraseProvider API change 2023-11-15 19:23:52 +01:00
Paul Schaub f07063d55f
Kotlin conversion: SignatureBuilder classes 2023-11-13 16:21:08 +01:00
Paul Schaub 3bb25a62a2
Remove unused CRCingArmoredInputStreamWrapper class 2023-11-13 14:09:42 +01:00
Paul Schaub 620c1fc96a
Ensure proper compatibility with keys with missing direct-key or certification self-sigs 2023-11-08 15:16:41 +01:00
Paul Schaub f4bfb9dc04
Remove test with expired key 2023-10-26 12:52:21 +02:00
Paul Schaub 11c1c54111
Kotlin conversion: ProviderFactory 2023-10-09 12:49:17 +02:00
Paul Schaub 1cdce5c93a
Kotlin conversion: ImplementationFactory classes 2023-10-09 12:49:17 +02:00
Paul Schaub d707dcf74a
Move now unused utility classes to test directory 2023-10-09 12:49:17 +02:00
Paul Schaub 841b386226
Kotlin conversion: MultiMap
Warning: This commit changes the semantics of MultiMap.put()
put() now replaces values, while plus() adds them.
2023-10-09 12:49:16 +02:00
Paul Schaub c9f988b2d1
Kotlin conversion: SelectUserId 2023-10-09 12:49:15 +02:00
Paul Schaub 68ac5af255
Kotlin conversion: UserId 2023-10-09 12:49:13 +02:00
Paul Schaub ec8ae3eff0
Kotlin conversion: SecretKeyRingEditor 2023-10-09 12:49:13 +02:00
Paul Schaub 76cf6173e8
Add test for OpenPgpFingerprint.getBytes() 2023-10-09 12:49:12 +02:00
Paul Schaub 85e2fe956a
Add test for SubkeyIdentifier.isPrimaryKey() 2023-10-09 12:45:47 +02:00
Paul Schaub 1234c8800a
Kotlin conversion: MissingPublicKeyCallback 2023-10-09 12:44:23 +02:00
Paul Schaub 4cfdcca2e0
Kotlin conversion: MessageMetadata 2023-10-09 12:44:23 +02:00
Paul Schaub d075ed6637
Kotlin conversion: PGPKeyRingCollection 2023-10-09 12:44:21 +02:00
Paul Schaub f3ea9f62e1
Kotlin conversion: EncryptionOptions 2023-10-09 12:44:21 +02:00
Paul Schaub 5fce443ad9
Kotlin conversion: SecretKeyRingProtector and subclasses 2023-10-09 12:44:19 +02:00