Commit graph

50 commits

Author SHA1 Message Date
Paul Schaub 8dc51b67a3
Kotlin conversion: InlineVerifyExternal 2023-11-15 17:59:04 +01:00
Paul Schaub 7be71494cf
Kotlin conversion: InlineSignExternal 2023-11-15 17:52:56 +01:00
Paul Schaub f181453004
Kotlin conversion: InlineDetachExternal 2023-11-15 17:47:37 +01:00
Paul Schaub 9b79a49bb5
Kotlin conversion: GenerateKeyExternal 2023-11-15 17:41:33 +01:00
Paul Schaub 01abae4d08
Kotlin conversion: ExtractCertExternal 2023-11-15 17:36:00 +01:00
Paul Schaub c53c69f3ac
Kotlin conversion: EncryptExternal 2023-11-15 17:32:43 +01:00
Paul Schaub 4a405f6d39
Kotlin conversion: DetachedVerifyExternal 2023-11-15 17:22:07 +01:00
Paul Schaub 9cd9f151c9
Kotlin conversion: DetachedSignExternal 2023-11-15 17:13:28 +01:00
Paul Schaub 03da9bbfb7
Kotlin conversion: DecryptExternal 2023-11-15 17:04:00 +01:00
Paul Schaub da2b299f4d
Kotlin conversion: DearmorExternal 2023-11-15 16:45:32 +01:00
Paul Schaub d149aac56c
Kotlin conversion: ChangeKeyPasswordExternal 2023-11-15 16:45:21 +01:00
Paul Schaub 6771952618
Kotlin conversion: ArmorExternal 2023-11-15 16:33:44 +01:00
Paul Schaub 1c0666b4e1
Kotlin conversion: ExternalSOP 2023-11-15 16:27:19 +01:00
Paul Schaub 2051c3632a
external-sop: Mark methods with @Nonnull where applicable 2023-11-15 13:52:36 +01:00
Paul Schaub 5ee9414410
Encrypt: Add --session-key-out support 2023-10-31 16:00:04 +01:00
Paul Schaub 6afe6896d8
Implement '--signing-only' option for 'generate-key' command 2023-07-12 01:06:41 +02:00
Paul Schaub 7e1377a28c
Initial implementation of 'change-key-password' command of SOP-07 2023-07-12 00:42:02 +02:00
Paul Schaub 618d123a7b
Add RevokeKeyExternal implementation and some basic tests 2023-07-11 22:58:39 +02:00
Paul Schaub e6393b44b9
Initial implementation of 'revoke-key' command 2023-07-11 22:42:16 +02:00
Paul Schaub c479cc8ef3
Profile: Use Optional for description 2023-04-27 14:25:16 +02:00
Paul Schaub ed59c713eb
Remove unused 'throws IOException' declarations 2023-04-26 16:28:04 +02:00
Paul Schaub 0aabfac695
DetachedVerifyExternal: Make certs set final 2023-04-26 16:23:18 +02:00
Paul Schaub bb2b4e03fb
Add comment to remind future self of adding new exception types to switch-case 2023-04-18 18:15:11 +02:00
Paul Schaub d8cac7b9d7
external-sop: Fix error code mapping of new exceptions 2023-04-18 18:03:18 +02:00
Paul Schaub 84a01df4bd
Rename new methods in Version 2023-04-17 15:29:06 +02:00
Paul Schaub 8425665fa7
Expose SOP revision info more fine-grained 2023-04-17 14:44:09 +02:00
Paul Schaub 8a66f0bc4f
Implement sop encrypt --profile=XXX 2023-04-17 14:44:08 +02:00
Paul Schaub f49c16e4c5
Implement sop version --sop-spec 2023-04-17 14:44:08 +02:00
Paul Schaub 7743f15e72
ListProfilesExternal: make toProfiles() method static 2023-04-17 13:10:30 +02:00
Paul Schaub 5935d65c90
Implement profiles 2023-04-14 14:06:34 +02:00
Paul Schaub 0ed5c52f4b
Change ListProfiles class to interface 2023-04-11 15:27:23 +02:00
Paul Schaub 83a003e80f
Add list-profiles command 2023-04-11 15:06:37 +02: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 c95ca8fedc
Add test for signing with protected key without password 2023-01-20 14:58:21 +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 4726362df8 Add more armor/dearmor tests 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 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