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

109 commits

Author SHA1 Message Date
2c7801b759 Add MatchMakingSecretKeyRingProtectorTest 2022-11-23 20:42:54 +01:00
6926cedf61 Fix compilation errors and simplify LayerIterator by introducing Packet interface 2022-11-23 20:42:54 +01:00
4594b494a9 Implement signature verification with certificate stores as cert source 2022-11-23 20:42:17 +01:00
6dcc1e68cd Fix expected exception in roundtrip test 2022-11-23 20:42:17 +01:00
a013ab4ebb Wrap MalformedOpenPgpMessageException in BadData 2022-11-23 20:40:40 +01:00
09f94944b3 Remove unnecessary throws declarations 2022-11-23 20:40:03 +01:00
243d64fcb4 Bump sop-java to 4.0.5 and adopt changes (--as=clearsigned) 2022-11-11 13:46:43 +01:00
86b06ee5e3 SOP: Hide armor version header by default 2022-11-11 13:46:43 +01:00
48005da7f3 SOP : Do not armor already-armored data. 2022-11-11 13:46:40 +01:00
fd55ce3657
Fix key/password matching in SOPs detached sign command 2022-11-09 22:01:52 +01:00
e15dd70b85
SOP: Unify key/certificate reading code 2022-11-09 22:01:20 +01:00
c77c96f849 SOP verify: force data to be non-openpgp data 2022-11-09 15:44:34 +01:00
e67c43a6f7
Bump sop-java to 4.0.2 and improve exception handling 2022-11-06 15:03:35 +01:00
a2bfb55d87
Use *Options.get() factory methods in SOP module 2022-08-29 13:22:44 +02:00
14531f0050
Make sop decrypt throw for unencrypted data 2022-06-23 11:47:48 +02:00
efc0cb357b
EncryptDecryptRoundTripTest: make passphrase constant 2022-06-23 11:47:20 +02:00
07f9c3ceef
Fix decrypt no signatures test 2022-06-23 10:30:16 +02:00
bca359805b
SOP decrypt: Do not throw if no signatures found 2022-06-22 22:14:22 +02:00
749a623d88
Bump SOP version 2022-06-19 17:56:26 +02:00
d64e749f22
Fix sop encrypt --sign-with allowing for protected keys 2022-06-19 17:50:31 +02:00
75455f1a3c
Add OpenPgpMetadata.isCleartextSigned and use it in sop to determine if message was cleartext signed 2022-06-19 17:31:48 +02:00
5375cd454f Implement inline-detach for 3 different types of input 2022-06-19 16:59:42 +02:00
2d60650cc6 Progress on SOP04 support 2022-06-19 16:59:42 +02:00
53df487e59 Adopt changes from SOP-Java and add test for using incapable keys 2022-06-19 16:59:42 +02:00
0b69e18715 Experimental support for inline-sign, inline-verify 2022-06-19 16:59:42 +02:00
9a545a2936 Wip: SOP 4 2022-06-19 16:59:42 +02:00
9cdea63ec4 Fix performance issues of sop armor and dearmor operations 2022-06-16 11:22:35 +02:00
c967cbb9f0 SOP: Properly throw CannotDecrypt 2022-06-16 11:22:21 +02:00
a22336a795 Create dedicated KeyException class for key-related exceptions. 2022-04-07 19:42:58 +02:00
c31fd7d5e0
SOP: Fix mapping of encryption format 2022-03-30 13:14:36 +02:00
4782868bc1
SOP encrypt: match signature type when using --as= option 2022-03-30 12:49:26 +02:00
e8b03834cb
Annotate fromId(code) methods with Nullable and add Nonnull requireFromId(code) methods 2022-03-22 15:09:09 +01:00
16b0d0730e
Annotate and document ArmorUtils class 2022-03-22 14:17:35 +01:00
19b6c8b1e3 SOP-CLI: Implement additional version flags 2022-01-15 02:46:42 +01:00
1b1a13e7d0 Fix spelling of Bouncy Castle 2022-01-15 02:46:41 +01:00
f2d88d8a86 Introduce SigningResult class to allow for additional signing information to be returned 2022-01-15 02:46:41 +01:00
1cb49f4b12 Update SOP implementation to the latest spec version
See https://datatracker.ietf.org/doc/html/draft-dkg-openpgp-stateless-cli-03
2022-01-15 02:46:41 +01:00
ce7b69269b
Various code cleanup 2021-12-28 13:32:50 +01:00
59f1a85887
Fix more code issues 2021-12-28 12:30:52 +01:00
c55fd2e552 Implement decryption with - and access of session keys 2021-12-02 12:42:02 +01:00
15736586dd
SOP: Add convenience methods to deal with byte arrays 2021-10-10 16:34:17 +02:00
e390389c0a Reuse compliance 2021-10-07 16:28:31 +02:00
722477673d
Fix hen and egg problem with signature detaching in SOP 2021-10-04 16:48:27 +02:00
620959abc6
Some more pgpainless-sop tests 2021-10-04 16:28:56 +02:00
637bd18ca6
Add ArmorTest 2021-10-04 16:03:24 +02:00
c5b576d8d2
ArmorImpl: Write to provided output stream instead of system.out 2021-10-04 16:02:28 +02:00
d170138ea8
Add test for GenerateKeyImpl 2021-10-04 15:02:28 +02:00
f28232893c
Refactoring: Move cleartext signed message processing to decryption_verification 2021-09-13 18:09:53 +02:00
90a00e0541 Move signature verification to dedicated streams 2021-09-07 14:02:07 +02:00
f68779d8a5
Add tests for pgpainless-sop 2021-08-30 17:15:11 +02:00