1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2025-09-10 02:39:39 +02:00
Commit graph

1368 commits

Author SHA1 Message Date
c40a0b91f9
KeyRingInfo: Expose OpenPGPComponentKey in place of PGPPublicKey, OpenPGPSecretKey instead of PGPSecretKey 2025-08-20 11:39:58 +02:00
137bb51f2c
Change type of KeyRingInfo.publicKey to OpenPGPPrimaryKey 2025-08-20 11:39:57 +02:00
c593b5a590
Further integration of OpenPGPCertificate into KeyRingInfo 2025-08-20 11:39:57 +02:00
002fa71bb7
Add some debug checks to test 2025-08-20 11:39:57 +02:00
2c0edf9588
Fix some tests 2025-08-20 11:39:57 +02:00
e20beb6755
Fix test stability 2025-08-20 11:39:57 +02:00
34c8921bed
Start porting KeyRingInfo over to OpenPGPCertificate 2025-08-20 11:39:57 +02:00
d4b16971d5
Integrate KeyIdentifier with SubkeyIdentifier 2025-08-20 11:39:56 +02:00
eb9efec7c9
Add missing license headers 2025-08-20 11:39:56 +02:00
fd3616061a
Basic v6 key generation test 2025-08-20 11:39:56 +02:00
a62d3aacd0
Add new key types to default policy 2025-08-20 11:39:56 +02:00
443361ba03
Add new key types X25519, X448, Ed25519, Ed448 2025-08-20 11:39:56 +02:00
d2532977cc
Pass version down in tests 2025-08-20 11:39:55 +02:00
626176cdad
Allow passing version number to key generator 2025-08-20 11:39:55 +02:00
69d65e763d
Simplify code for setExpirationDate() 2025-08-20 11:39:55 +02:00
6abc47a8e1
Adapt PGPKeyPairGenerator and remove support for generating ElGamal keys 2025-08-20 11:39:55 +02:00
02a5db3297
Bump bc to 1.80-SNAPSHOT, sop-java to 10.1.0-SNAPSHOT 2025-08-20 11:39:54 +02:00
0d807cb6b8
Fix typo in error message 2025-07-23 11:26:40 +02:00
9b0a3cd4c7
Do not trim passphrases automatically 2025-07-23 11:26:28 +02:00
0ee31b232a
Allow UserIDs with trailing/leading whitespace and escape newlines in ASCII armor 2025-07-23 11:26:17 +02:00
811f72ffef
Fix RevocationSignatureBuilder properly calculating 3rd-party delegation revocations 2025-03-26 15:02:52 +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
Eric Duffy
c5bae9d50d Fix a typo on signature creation bounds check message 2025-02-14 10:35:15 -06:00
391549a7d6
Revert "Ensure proper compatibility with keys with missing direct-key or certification self-sigs"
This reverts commit 620c1fc96a.
2024-12-21 10:27:06 +01:00
fdf49cfafb
Improve error message when no acceptable certificate signature is found
Relates to #457
2024-11-19 13:59:41 +01:00
b99822f405
Ignore certificate signatures of unknown type 2024-11-19 13:58:54 +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