1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-12-23 03:17:58 +01:00
Commit graph

135 commits

Author SHA1 Message Date
e3bacdbe35
Introduce VerificationHelper class and export signature mode in decrypt operation 2023-04-18 18:53:50 +02:00
06c924d41d
Add tests for mode to DetachedSignTest 2023-04-18 18:43:56 +02:00
b0974c6ade
Add more tests for inline-sign-verify roundtrips 2023-04-18 18:40:25 +02:00
2ec176e938
DetachedVerifyImpl: Export signature mode in Verification result 2023-04-18 18:39:52 +02:00
05968533a5
InlineVerifyImpl: Export signature mode in Verification result 2023-04-18 18:35:47 +02:00
e465ae60a7
VersionImpl: Fix outdated method names 2023-04-17 16:22:54 +02:00
676e7d166a
EncryptImpl: Rename default profile, add documentation 2023-04-17 16:06:45 +02:00
926e540016
Test fine-grained SOP spec version 2023-04-17 16:01:17 +02:00
3b1edb076c
Basic support for sop encrypt --profile=XXX 2023-04-17 16:01:17 +02:00
5b363de6e4
Implement VersionImpl.getSopSpecVersion() 2023-04-17 16:01:17 +02:00
446d121777
Bump SOP version in VersionImpl to 06 2023-04-17 16:01:17 +02:00
6371485929
Add some clarifying comments to GenerateKeyImpl 2023-04-17 14:51:50 +02:00
702fdf085c
Thin out and rename profiles of generate-key 2023-04-17 12:49:23 +02:00
f3a4a01d19
Add basic tests for new functionality 2023-04-14 16:18:15 +02:00
b79e706d65
Bump SOP version in VersionImpl to 05 2023-04-14 16:18:15 +02:00
e35287a666
Add support for SOP05 features 2023-04-14 16:18:15 +02:00
d53cd6d0bd
pgpainless-sop: reuse shared sop-java test suite 2023-01-31 19:03:11 +01:00
83ef9cfe80
SOP encrypt: Throw MissingArg if no encryption method was provided. 2023-01-31 18:20:03 +01:00
b58861635d
Add some missing javadoc 2023-01-16 19:38:52 +01:00
ab6b6ca2e7 Add regression test for #351 2023-01-09 16:56:05 +01:00
3b2d0795f7 Fix NPE when sop generate-key --with-key-password is used with multiple uids
Fixes #351
2023-01-09 16:54:58 +01:00
2d46fb18f7 SOP: Allow generation of keys without user-ids 2022-12-15 18:04:59 +01:00
66abd5f65f Cleartext-signatures MUST use TEXT mode 2022-12-15 18:04:53 +01:00
4f435a0fa0 Fix parameter check for DSA keys
Fixes #345
2022-12-15 18:04:34 +01:00
68886613a6
SOP KeyReader: wrap IOException in BadData 2022-11-24 22:14:06 +01:00
25190fc5df SOP: Use new MessageMetadata class 2022-11-23 20:42:54 +01:00
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