Commit Graph

82 Commits

Author SHA1 Message Date
Paul Schaub 0cb614827b
Un-bump picocli 2022-08-04 12:51:01 +02:00
Paul Schaub dcb44f96c8
Fix wrongly named resource entries 2022-08-04 12:48:32 +02:00
Paul Schaub dc5f11469f
Rename resource bundles and name resources after options/parameters 2022-08-04 12:15:53 +02:00
Paul Schaub 7de94f1815
Set resource bundle for help command 2022-07-27 14:30:48 +02:00
Paul Schaub fa52df385e
Split message resources into separate per-command resource files.
Since picocli 4.7.0, subcommands inherit resources from their
parent commands, so we can store shared stuff like error msgs
etc. in the parent (sop) resources file.

This enables us to rename the parent command downstream (e.g. in
pgpainless-cli).

Only the help command breaks when renaming the parent command.
TODO: Fix
2022-07-25 19:15:47 +02:00
Paul Schaub 3801a644ef
Do not overwrite command name.
Doing so would break resolution of command.usage.header strings
2022-07-23 01:21:14 +02:00
Paul Schaub 86e39809ae
Fix sop.properties sop command header 2022-07-23 01:11:40 +02:00
Paul Schaub 77c76c57d0
Add InlineDetachCmdTest 2022-06-20 19:50:50 +02:00
Paul Schaub 084923c828
SOP-Java 4.0.1-SNAPSHOT 2022-06-19 18:24:54 +02:00
Paul Schaub bfce786433
SOP-Java 4.0.0 2022-06-19 18:23:19 +02:00
Paul Schaub 1ca1bb5671 Update CHANGELOG 2022-06-19 18:19:23 +02:00
Paul Schaub 55673b52a7 Fix typos in i18n 2022-06-19 18:19:23 +02:00
Paul Schaub 8db710a582
Update SOP version in README 2022-06-19 18:00:54 +02: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 6d5005660c
Fix format strings 2022-06-09 00:46:25 +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 8184c30617
GenerateKeyCmd: Make --with-key-password indirect data type 2022-05-24 22:13:11 +02:00
Paul Schaub 45ee435a18
Add support for --with-key-password to DecryptCmd 2022-05-24 22:10:21 +02:00
Paul Schaub 6438ebc59c
Make Sign.withKeyPassword indirect data type 2022-05-24 22:09:49 +02:00
Paul Schaub de11c17967
Rename DetachInbandSignaturesAndMessageCmd to InlineDetachCmd 2022-05-24 21:56:17 +02:00
Paul Schaub 55aefb799f
Add support for --with-key-password to Sign 2022-05-24 21:55:35 +02:00
Paul Schaub 8406793d0e
Add param label for PASSWORD 2022-05-24 21:53:14 +02:00
Paul Schaub 9016c9f428
SOP: Add support for key password in GenerateKeyCmd 2022-05-24 21:49:40 +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 4e74fc6aa3
SOP-Java 1.2.4-SNAPSHOT 2022-04-29 16:52:02 +02:00
Paul Schaub 417115dfe1
SOP-Java 1.2.3 2022-04-29 16:49:24 +02:00
Paul Schaub 3dbeda45f2
Update changelog 2022-04-26 00:37:24 +02:00
Paul Schaub 5c1862fe7d
Move jsr305 version to version.gradle 2022-04-26 00:34:48 +02:00
Paul Schaub a6be316ed2
Move picocli version to version.gradle 2022-04-26 00:34:29 +02:00
Paul Schaub aa346459e2
Bump mockito to 4.5.1 2022-04-26 00:33:20 +02:00
Paul Schaub 8753480e82
Move junit5-system-exit version to version.gradle 2022-04-26 00:32:03 +02:00
Paul Schaub 0065401c15
Update README 2022-04-11 14:50:28 +02:00
Paul Schaub 807689d516
SOP-Java 1.2.3-SNAPSHOT 2022-04-11 14:12:44 +02:00
Paul Schaub ea9116cec5
SOP-Java 1.2.2 2022-04-11 14:10:43 +02:00
Paul Schaub 5178167214
Update CHANGELOG 2022-04-11 14:09:30 +02:00
Paul Schaub eb80c14ce3
Add command name and description for parent command 2022-04-11 13:59:09 +02:00
Paul Schaub 69b9881798
Move junit version to version.gradle 2022-04-11 12:43:22 +02:00