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

1375 commits

Author SHA1 Message Date
1a8c29e1ea
WIP: Port SecretKeyRingEditor over to OpenPGPKeyEditor 2025-02-17 15:18:58 +01:00
5266fa53c8
Progress porting the example tests 2025-02-17 14:36:43 +01:00
760c3a9730
Improve KeyExceptions 2025-02-17 13:01:46 +01:00
9d03736567
OpenPGPFingerprint: Add factory methods for new key / subkey classes 2025-02-17 12:33:43 +01:00
41ff7517fc
Port test 2025-02-17 12:25:28 +01:00
373a23ccab
Port EncryptionOptions over to OpenPGPCertificate 2025-02-17 12:01:13 +01:00
660346a7dd
Port ConsumerOptions, SigningOptions to new OpenPGPCertificate, OpenPGPKey classes 2025-02-12 19:32:22 +01:00
6798d2deda
Even more migration and code compiles again 2025-02-11 16:17:48 +01:00
aa3b78b374
WIP: Transform Options and OpenPgpMessageInputStream 2025-02-10 17:05:16 +01:00
932c7d878b
Change return type of KeyRingBuilder.build() to OpenPGPKey 2025-02-10 13:34:07 +01:00
f5e9b0602e
WIP: Migrate away from static methods 2025-02-10 12:44:33 +01:00
d12eef6691
Begin transition to instance-based PGPainless, adapt policy 2025-02-10 12:21:18 +01:00
e71d96ca01
Tests: Remove unused throws declarations 2025-02-07 13:29:51 +01:00
05d31943a1
Fix tests 2025-02-07 13:19:56 +01:00
4400b29fc4
KeyRingInfo: Replace PGPainless signature evaluation with BCs 2025-02-07 13:19:43 +01:00
f24c6ec29a
KeyRingInfo: Expose OpenPGPComponentKey in place of PGPPublicKey, OpenPGPSecretKey instead of PGPSecretKey 2025-02-05 12:01:16 +01:00
4d3624d0cd
Change type of KeyRingInfo.publicKey to OpenPGPPrimaryKey 2025-02-05 10:31:28 +01:00
832734fa21
Further integration of OpenPGPCertificate into KeyRingInfo 2025-02-05 09:56:56 +01:00
a76875b7c4
Add some debug checks to test 2025-02-04 17:18:54 +01:00
71a8a4b809
Fix some tests 2025-02-04 15:59:26 +01:00
b1e9316ecf
Fix test stability 2025-01-31 12:50:07 +01:00
7783177e1e
Start porting KeyRingInfo over to OpenPGPCertificate 2025-01-30 22:50:31 +01:00
2036d89761
Integrate KeyIdentifier with SubkeyIdentifier 2025-01-30 12:08:55 +01:00
dfdcf4521b
Add missing license headers 2025-01-29 12:14:50 +01:00
010d34177f
Basic v6 key generation test 2025-01-29 12:10:14 +01:00
0f906a5308
Add new key types to default policy 2025-01-29 12:09:54 +01:00
74b7f108da
Add new key types X25519, X448, Ed25519, Ed448 2025-01-29 12:09:37 +01:00
5102c08e13
Pass version down in tests 2025-01-29 11:27:02 +01:00
5095e421c1
Allow passing version number to key generator 2025-01-29 11:13:46 +01:00
88aecfd94c
Simplify code for setExpirationDate() 2025-01-29 10:54:00 +01:00
64f749c78b
Adapt PGPKeyPairGenerator and remove support for generating ElGamal keys 2025-01-28 21:20:56 +01:00
5b48eb07bf
Bump bc to 1.80-SNAPSHOT, sop-java to 10.1.0-SNAPSHOT 2025-01-28 12:50:01 +01: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