Commit graph

60 commits

Author SHA1 Message Date
aeda534f37
Add DSL for testing verification results 2023-04-26 15:53:50 +02:00
4a7c2b74da
Add test for listing encrypt profiles, use new shortcut methods 2023-04-18 18:05:10 +02:00
78ecf2f554
ListProfiles: Add shortcut methods generateKey() and encrypt() 2023-04-18 18:04:23 +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
1a4affde35
Skip sopSpecVersionTest if --sop-spec is not supported 2023-04-17 14:44:09 +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
8a9f535531
Add documentation to ListProfiles command 2023-04-17 14:04:06 +02:00
7e12da400b
Add documentation to new exception types 2023-04-17 14:01:49 +02:00
360f2fba02
Document SignatureMode 2023-04-17 13:56:43 +02:00
d838e9589b
Add documentation to Verification 2023-04-17 13:51:05 +02:00
ffdd5eee51
Document SOP.listProfiles() 2023-04-17 13:41:03 +02:00
67292864b3
Add documentation to Profile class 2023-04-17 13:39:36 +02:00
9bc391fc7c
Add note discouraging reuse of subcommand objects 2023-04-17 13:07:54 +02:00
5935d65c90
Implement profiles 2023-04-14 14:06:34 +02:00
b8544396f8
Add Profile class 2023-04-14 14:03:22 +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
6d28a7b07d
Add new Exceptions 2023-04-09 19:52:34 +02:00
f5e34bce6c
Fix IOOB in Verification.fromString() 2023-04-09 19:51:49 +02:00
5d04bb965b
Add support for 05-style verifications 2023-04-09 19:29:10 +02: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
f1c6fd67d3 Update sop-java/README 2023-01-13 18:53:14 +01:00
e3b618a0a8 Wip: Add TempDirProvider 2023-01-13 18:53:14 +01:00
3eb2503852 Add back missing exception constructor 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
3bc19b27ad toString() of enum options: Ensure lowercase 2023-01-13 18:50:36 +01:00
c00109c2bf Rename InlineSignAs.CleartextSigned to clearsigned, make options lowercase
Fixes #16
2022-11-11 12:48:26 +01:00
137d2e7f85
Add Verification.fromString(string), equals(other) and hashCode() 2022-11-07 16:21:34 +01:00
dad75bb522
Clean up toString() method 2022-11-07 16:21:01 +01:00
aa953428ee Be less finnicky about session key formats 2022-11-06 20:30:03 +01:00
c32ef9830b
Properly throw CannotDecrypt exception with error message 2022-11-06 14:41:37 +01:00
61ab35ad52
Reference exit codes directly in junit tests 2022-06-11 11:18:45 +02:00
0c24c2301d
Add KeyCannotSign(message) constructor 2022-06-10 16:55:53 +02:00
eefb445916
Reformat and restructure exceptions 2022-06-10 16:16:37 +02:00
e175ee6208
Fix return types of sign builders 2022-06-09 00:46:40 +02:00
2135455cda
Don't throw KeyIsProtected 2022-06-07 08:55:44 +02:00
4934e472e2
Wip: Refactor command implementation and enable i18n for CLI 2022-06-06 20:06:14 +02:00
a7f02d58cc
Wip 2022-05-29 21:17:03 +02:00
580c3af350
Add InlineSign API 2022-05-24 21:44:46 +02:00
e8d7d1b5f4
Move withKeyPassword method in Sign around 2022-05-24 21:36:02 +02:00
72c3b3218d
Add API for verification of inline signed messages 2022-05-24 21:34:50 +02:00
fd9192995f
Rename DetachInbandSignatureAndMessage to InlineDetach 2022-05-24 21:19:37 +02:00
0bfc12c1e1
Add withKeypassword() methods to Decrypt 2022-05-24 21:18:47 +02:00
0699ae740a
Add withKeyPassword() methods to Sign 2022-05-24 21:18:37 +02:00