Commit graph

51 commits

Author SHA1 Message Date
6afe6896d8
Implement '--signing-only' option for 'generate-key' command 2023-07-12 01:06:41 +02:00
7e1377a28c
Initial implementation of 'change-key-password' command of SOP-07 2023-07-12 00:42:02 +02:00
618d123a7b
Add RevokeKeyExternal implementation and some basic tests 2023-07-11 22:58:39 +02:00
e6393b44b9
Initial implementation of 'revoke-key' command 2023-07-11 22:42:16 +02:00
c479cc8ef3
Profile: Use Optional for description 2023-04-27 14:25:16 +02:00
ed59c713eb
Remove unused 'throws IOException' declarations 2023-04-26 16:28:04 +02:00
0aabfac695
DetachedVerifyExternal: Make certs set final 2023-04-26 16:23:18 +02:00
bb2b4e03fb
Add comment to remind future self of adding new exception types to switch-case 2023-04-18 18:15:11 +02:00
d8cac7b9d7
external-sop: Fix error code mapping of new exceptions 2023-04-18 18:03:18 +02:00
84a01df4bd
Rename new methods in Version 2023-04-17 15:29:06 +02:00
8425665fa7
Expose SOP revision info more fine-grained 2023-04-17 14:44:09 +02:00
8a66f0bc4f
Implement sop encrypt --profile=XXX 2023-04-17 14:44:08 +02:00
f49c16e4c5
Implement sop version --sop-spec 2023-04-17 14:44:08 +02:00
7743f15e72
ListProfilesExternal: make toProfiles() method static 2023-04-17 13:10:30 +02:00
5935d65c90
Implement profiles 2023-04-14 14:06:34 +02:00
0ed5c52f4b
Change ListProfiles class to interface 2023-04-11 15:27:23 +02:00
83a003e80f
Add list-profiles command 2023-04-11 15:06:37 +02:00
546b97fcc9
Fix checkstyle error 2023-01-31 18:40:14 +01:00
6ac133499c
Enable tests only if test backends are available 2023-01-31 18:35:48 +01:00
0709bce35c
Allow for extension of test suite from 3rd party SOP implementations 2023-01-31 18:20:27 +01:00
fd426b533c
Restructure test artifacts into sop-java testFixtures 2023-01-27 00:35:38 +01:00
c1ae5314a0
CI: Test external-sop against sqop 2023-01-22 17:07:17 +01:00
3789b60f0b
Properly ignore tests if no backends are configured 2023-01-22 16:53:50 +01:00
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
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