1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-27 06:42:05 +01:00
Commit graph

1346 commits

Author SHA1 Message Date
4911816b7d
Adopt new PublicKeyDataDecryptorFactory API 2024-11-06 12:40:38 +01:00
0196e3ce65
Identify key by fingerprint for v6 2024-11-06 12:40:38 +01:00
a230c48393
Adapt changes to PGPSignatureGenerator 2024-11-06 12:40:38 +01:00
e2cf1a474e
WIP: Tests 2024-11-06 12:40:38 +01:00
e3c60973c4
WIP: v6 signature creation 2024-11-06 12:40:38 +01:00
5dd4165d04
core: depend on local bc jars 2024-11-06 12:40:37 +01:00
f1610f6425
Fix returning proper value for KeyRingInfo.lastModified
While porting to kotlin the code was accidentally changed to return the key ring creation
time instead of the latest self-sig creation time
2024-10-24 17:41:18 +02:00
5dfebc5bde
Add support for LibrePGP OED packet 2024-10-14 11:58:04 +02:00
3c343dc45c
Prevent overreading when decompressing data 2024-10-14 11:40:57 +02:00
b719810575
Fix linking in KDoc documentation 2024-09-16 14:13:14 +02:00
67457bbe78
Replace use of addPassphrase()/addDecryptionPassphrase() in tests with addMessagePassphrase() 2024-08-22 13:42:30 +02:00
69a57ef3bc
Deprecate addPassphrase()/addDecryptionPassphrase in favor of addMessagePassphrase() 2024-08-22 13:41:51 +02:00
6f46f75602
Add PublicKeyAlgorithm entries for X25519, X448, Ed25519, Ed448 2024-06-21 14:12:54 +02:00
0378145b21
Merge branch 'eddsaLegacy' 2024-06-21 13:57:49 +02:00
b4d2a61459
Add support for padding packet 2024-06-21 13:48:00 +02:00
0045f77551
Catch UnsupportedPacketVersionExceptions when parsing OnePassSignaturePackets 2024-06-12 22:11:47 +02:00
e9c57a9ed9
Remove support for generating EC keys over non-standard curve secp256k1 2024-06-12 22:11:08 +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
a6f3a223b1
Reject data signatures made by non-signing primary key 2024-04-10 10:38:50 +02:00
b96f22d0a9
Add EncryptionBuilder.discardOutput()
Also move NullOutputStream from pgpainless-sop to pgpainless-core
2024-03-29 20:37:24 +01:00
337b5d68b6
Add Automatic-Module-Name to pgpainless-core and pgpainless-sop 2024-03-19 15:56:49 +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
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
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
69f1028fd9
Add method to change expiration time of subkeys
Port of e06f60f62c to kotlin
2023-12-15 18:20:51 +01:00
97455aa256
Add test for handling key with unknown signature subpacket 2023-11-30 19:36:44 +01:00
74c7b025a0
Do not choke on unknown signature subpackets
Fixes #418
2023-11-30 19:36:01 +01:00
f39d2c5566
Prevent subkey binding signature from predating subkey
Fixes #419
2023-11-30 17:58:10 +01:00
b0caa95378
Properly feed an EOS token to the push down automata in OpenPgpMessageInputStream.read() 2023-11-27 13:27:23 +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
620c1fc96a
Ensure proper compatibility with keys with missing direct-key or certification self-sigs 2023-11-08 15:16:41 +01:00
f4bfb9dc04
Remove test with expired key 2023-10-26 12:52:21 +02:00
19b45644ae
Kotlin conversion: SignatureVerifier 2023-10-26 12:52:04 +02:00
e9d8ddc57b
Kotlin conversion: SignatureValidator 2023-10-25 19:07:52 +02:00
51e9bfc67f
Apply new formatting from 'gradle spotlessApply' 2023-10-23 14:24:31 +02:00