Commit Graph

186 Commits

Author SHA1 Message Date
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 6c3e148bcd
Update changelog 2023-01-22 17:35:48 +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 4fc8ffab42
SOP-Java 4.1.1-SNAPSHOT 2023-01-13 19:08:18 +01:00
Paul Schaub 78b5eea630
SOP-Java 4.1.0 2023-01-13 19:06:19 +01:00
Paul Schaub b42d0e89a1
Update CHANGELOG 2023-01-13 19:03:33 +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 b15acc79b3 Update README 2023-01-13 18:53:14 +01:00
Paul Schaub f1c6fd67d3 Update sop-java/README 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 3eb2503852 Add back missing exception constructor 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
Paul Schaub 28912618ea Initial work on binary-sop
This module is intended to allow the use of SOP command line applications
such as sqop, pgpainless-sop, etc. as drop-ins for sop-java.
2023-01-13 18:53:14 +01:00
Paul Schaub ed296ec4b2
Update changelog 2023-01-13 18:52:13 +01:00
Paul Schaub 3bc19b27ad toString() of enum options: Ensure lowercase 2023-01-13 18:50:36 +01:00
Paul Schaub eddcc11c99
Update changelgo 2023-01-13 17:45:15 +01:00
Paul Schaub ff5f98e8ee sop decrypt: Throw NoSignature if no verifiable signature found 2023-01-13 17:41:20 +01:00
Paul Schaub 14c665565e
Update changelog 2023-01-12 15:52:16 +01:00
Paul Schaub d9708e882d
decrypt: rename --not-after, --not-before to --verify-not-after, --verify-not-before 2023-01-12 14:03:12 +01:00
Paul Schaub 2c3717157a
Bump gradlew to 7.5 2023-01-05 01:42:31 +01:00
Paul Schaub 2328bdf6af
Fix parameter label of --as=clearsigned 2022-12-13 17:06:35 +01:00