Commit Graph

56 Commits

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