Commit Graph

38 Commits

Author SHA1 Message Date
Paul Schaub 9fdc8a5bad
Improve comment on external-sop/build.gradle 2023-01-31 18:40:38 +01:00
Paul Schaub 546b97fcc9
Fix checkstyle error 2023-01-31 18:40:14 +01:00
Paul Schaub 40dc9e3707
Move gson version to version.gradle 2023-01-31 18:36:05 +01:00
Paul Schaub 6ac133499c
Enable tests only if test backends are available 2023-01-31 18:35:48 +01:00
Paul Schaub 0709bce35c
Allow for extension of test suite from 3rd party SOP implementations 2023-01-31 18:20:27 +01:00
Paul Schaub fd426b533c
Restructure test artifacts into sop-java testFixtures 2023-01-27 00:35:38 +01:00
Paul Schaub 88e3ba0095
Add section about license compliance and testing to external-sop/README 2023-01-22 17:37:47 +01:00
Paul Schaub c1ae5314a0
CI: Test external-sop against sqop 2023-01-22 17:07:17 +01:00
Paul Schaub 3789b60f0b
Properly ignore tests if no backends are configured 2023-01-22 16:53:50 +01:00
Paul Schaub 0b96a5314f
Restructure external-sop tests into flexible test suite 2023-01-22 16:47:44 +01:00
Paul Schaub 0c8f6baf98
Only swallow 'Stream closed' IOExceptions 2023-01-22 15:37:27 +01:00
Paul Schaub 8cacf7dd57
Code cleanup 2023-01-22 15:07:17 +01:00
Paul Schaub e73c7e5f91
Even more tests 2023-01-21 21:17:57 +01:00
Paul Schaub 9cf6301b8c
More tests 2023-01-21 20:31:49 +01:00
Paul Schaub d09626782d
Unify tests by turning password-protected keys into variable 2023-01-20 15:16:47 +01:00
Paul Schaub c95ca8fedc
Add test for signing with protected key without password 2023-01-20 14:58:21 +01:00
Paul Schaub 0d9db2bdd3
Add tests for extracting certs from known keys 2023-01-20 14:37:58 +01:00
Paul Schaub ffc5b26c0d
Add test for unsupported subcommands 2023-01-20 14:30:41 +01:00
Paul Schaub 61c5eb2962
Add javadoc to JUtils 2023-01-19 18:10:31 +01:00
Paul Schaub 104b3a4ec4
Add documentation and fixes to AbstractExternalSOPTest 2023-01-19 18:00:41 +01:00
Paul Schaub 0616cde6fd
Add documentation of the ExternalSOP class 2023-01-19 17:51:29 +01:00
Paul Schaub 990d314709
Add javadoc comments on top of external sop operations 2023-01-19 17:29:29 +01:00
Paul Schaub 8fc88b5bab Increase test coverage 2023-01-13 18:53:14 +01:00
Paul Schaub eded55c259 Add more tests 2023-01-13 18:53:14 +01:00
Paul Schaub 4726362df8 Add more armor/dearmor tests 2023-01-13 18:53:14 +01:00
Paul Schaub 670aa0f242 Add test for dearmoring and armoring certificate 2023-01-13 18:53:14 +01:00
Paul Schaub 125eefed6e Fix IOException when trying to close already-closed output stream 2023-01-13 18:53:14 +01:00
Paul Schaub 6e40c7dc17 Add initial tests for all operations 2023-01-13 18:53:14 +01:00
Paul Schaub bd02b11944 Fix external version command 2023-01-13 18:53:14 +01:00
Paul Schaub 951cf9cbca Fix external armor and dearmor commands 2023-01-13 18:53:14 +01:00
Paul Schaub 85f61b413f Add external-sop/README.md 2023-01-13 18:53:14 +01:00
Paul Schaub 9c27141c00 Add documentation to TempDirProvider 2023-01-13 18:53:14 +01:00
Paul Schaub 909e28432d Wip: Implement result parsing for decrypt, inline-detach and inline-verify 2023-01-13 18:53:14 +01:00
Paul Schaub d079a345d2 decrypt: Parse out sessionkey and verifications, sign: parse out micalg 2023-01-13 18:53:14 +01:00
Paul Schaub e3b618a0a8 Wip: Add TempDirProvider 2023-01-13 18:53:14 +01:00
Paul Schaub a63b29fe80 WiP: Implement first prototypes of all SOP commands for external binaries 2023-01-13 18:53:14 +01:00
Paul Schaub efec4d9110 Wip: working extract-cert, fix generate-key parameter passing 2023-01-13 18:53:14 +01:00
Paul Schaub e602cc16cc Rename module to external-sop and make backend in tests configurable 2023-01-13 18:53:14 +01:00