1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-12-27 05:17:59 +01:00
Commit graph

605 commits

Author SHA1 Message Date
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
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
f07063d55f
Kotlin conversion: SignatureBuilder classes 2023-11-13 16:21:08 +01:00
3bb25a62a2
Remove unused CRCingArmoredInputStreamWrapper class 2023-11-13 14:09:42 +01:00
f4bfb9dc04
Remove test with expired key 2023-10-26 12:52:21 +02:00
11c1c54111
Kotlin conversion: ProviderFactory 2023-10-09 12:49:17 +02:00
1cdce5c93a
Kotlin conversion: ImplementationFactory classes 2023-10-09 12:49:17 +02:00
d707dcf74a
Move now unused utility classes to test directory 2023-10-09 12:49:17 +02:00
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
c9f988b2d1
Kotlin conversion: SelectUserId 2023-10-09 12:49:15 +02:00
68ac5af255
Kotlin conversion: UserId 2023-10-09 12:49:13 +02:00
ec8ae3eff0
Kotlin conversion: SecretKeyRingEditor 2023-10-09 12:49:13 +02:00
76cf6173e8
Add test for OpenPgpFingerprint.getBytes() 2023-10-09 12:49:12 +02:00
85e2fe956a
Add test for SubkeyIdentifier.isPrimaryKey() 2023-10-09 12:45:47 +02:00
1234c8800a
Kotlin conversion: MissingPublicKeyCallback 2023-10-09 12:44:23 +02:00
4cfdcca2e0
Kotlin conversion: MessageMetadata 2023-10-09 12:44:23 +02:00
d075ed6637
Kotlin conversion: PGPKeyRingCollection 2023-10-09 12:44:21 +02:00
f3ea9f62e1
Kotlin conversion: EncryptionOptions 2023-10-09 12:44:21 +02:00
5fce443ad9
Kotlin conversion: SecretKeyRingProtector and subclasses 2023-10-09 12:44:19 +02:00
1a701333e3
Remove deprecated OpenPgpMetadata class 2023-10-09 12:29:33 +02:00
4a19e6ca20
WIP: Kotlin conversion: ConsumerOptions 2023-10-09 12:29:32 +02:00
1ab5377f70
Rename syntax checker enums to screaming snake case 2023-10-09 12:29:31 +02:00
64dfefc9e7
Remove usage of PublicKeyAlgorithm.EC 2023-10-09 12:22:02 +02:00
bf6c89af64
Test usability of keyflag-less key 2023-10-09 12:09:22 +02:00
1b96919d84
Allow generation of keys with empty key flags.
Forbid certification of thirdparty certificates if CERTIFY_OTHERS flag is missing
2023-10-09 12:02:10 +02:00
41dfe71994
Pad long KeyIDs with zeros to 16 chars 2023-09-04 14:18:13 +02:00
16a4836f8a
Override evaluation date in test with expiring key 2023-08-03 14:51:43 +02:00
975d59c5a9
Add method to allow for encryption for keys with missing keyflags.
There are legacy keys around, which do not carry any key flags.
This commit adds a method to EncryptionOptions that allow PGPainless to encrypt
for such keys.

Fixes #400
2023-08-03 14:04:40 +02:00
8cdb7ee4e0
Add more tests for V6 fingerprints 2023-08-01 15:29:24 +02:00
30481cd510
Fix unreliable unit test
Fixes #389
2023-07-07 11:07:14 +02:00
bbdb300814
Add test to verify correct behavior dealing with non-utf8 userID 2023-07-07 10:42:32 +02:00
f7576abd35
Minimal revocation certificate test: Test merging 2023-06-20 17:37:18 +02:00
53d6260210
Implement method to create minimal revocation certificate.
Fixes #386
2023-06-20 17:30:19 +02:00
2a7c6af022
Rename SecretKeyRingEditor.createRevocationCertificate() to createRevocation() 2023-06-20 16:41:46 +02:00
82cea93e7b
Replace JcaPGPObjectFactory with custom PGPObjectFactory.
Workaround for https://github.com/bcgit/bc-java/issues/1428
2023-06-15 15:20:08 +02:00
2b119e8214
Basic V6 parsing test (only check non-crashing) 2023-06-15 14:41:41 +02:00
6b145475a8
Add test for anonymous recipients 2023-06-15 14:28:56 +02:00
383c9799c3
Add test for minimal revocation certificate 2023-06-13 19:46:56 +02:00
814421fe79
Test constructor of RevocationState.softRevoked() requires non-null date 2023-06-12 15:04:57 +02:00
b9c2e8dfe9
Add test for weak public key behavior 2023-06-12 14:27:07 +02:00
1fca51d771
SigningOptions: Add methods to sign with a single, chosen signing subkey 2023-06-08 14:04:06 +02:00
d3ef513960
Fix checkstyle issues 2023-06-05 21:12:16 +02:00
41e663e25b
Allow setting custom version header when encrypting/signing message 2023-06-05 20:18:06 +02:00
add1b89019
Add test for MultiMap.putAll() 2023-06-05 19:44:58 +02:00