Commit graph

79 commits

Author SHA1 Message Date
0b96a5314f
Restructure external-sop tests into flexible test suite 2023-01-22 16:47:44 +01:00
0c8f6baf98
Only swallow 'Stream closed' IOExceptions 2023-01-22 15:37:27 +01:00
8cacf7dd57
Code cleanup 2023-01-22 15:07:17 +01:00
e73c7e5f91
Even more tests 2023-01-21 21:17:57 +01:00
9cf6301b8c
More tests 2023-01-21 20:31:49 +01:00
d09626782d
Unify tests by turning password-protected keys into variable 2023-01-20 15:16:47 +01:00
c95ca8fedc
Add test for signing with protected key without password 2023-01-20 14:58:21 +01:00
0d9db2bdd3
Add tests for extracting certs from known keys 2023-01-20 14:37:58 +01:00
ffc5b26c0d
Add test for unsupported subcommands 2023-01-20 14:30:41 +01:00
61c5eb2962
Add javadoc to JUtils 2023-01-19 18:10:31 +01:00
104b3a4ec4
Add documentation and fixes to AbstractExternalSOPTest 2023-01-19 18:00:41 +01:00
0616cde6fd
Add documentation of the ExternalSOP class 2023-01-19 17:51:29 +01:00
990d314709
Add javadoc comments on top of external sop operations 2023-01-19 17:29:29 +01:00
8fc88b5bab Increase test coverage 2023-01-13 18:53:14 +01:00
eded55c259 Add more tests 2023-01-13 18:53:14 +01:00
4726362df8 Add more armor/dearmor tests 2023-01-13 18:53:14 +01:00
670aa0f242 Add test for dearmoring and armoring certificate 2023-01-13 18:53:14 +01:00
125eefed6e Fix IOException when trying to close already-closed output stream 2023-01-13 18:53:14 +01:00
6e40c7dc17 Add initial tests for all operations 2023-01-13 18:53:14 +01:00
bd02b11944 Fix external version command 2023-01-13 18:53:14 +01:00
951cf9cbca Fix external armor and dearmor commands 2023-01-13 18:53:14 +01:00
85f61b413f Add external-sop/README.md 2023-01-13 18:53:14 +01:00
9c27141c00 Add documentation to TempDirProvider 2023-01-13 18:53:14 +01:00
909e28432d Wip: Implement result parsing for decrypt, inline-detach and inline-verify 2023-01-13 18:53:14 +01:00
d079a345d2 decrypt: Parse out sessionkey and verifications, sign: parse out micalg 2023-01-13 18:53:14 +01:00
e3b618a0a8 Wip: Add TempDirProvider 2023-01-13 18:53:14 +01:00
a63b29fe80 WiP: Implement first prototypes of all SOP commands for external binaries 2023-01-13 18:53:14 +01:00
efec4d9110 Wip: working extract-cert, fix generate-key parameter passing 2023-01-13 18:53:14 +01:00
e602cc16cc Rename module to external-sop and make backend in tests configurable 2023-01-13 18:53:14 +01:00