Commit Graph

112 Commits

Author SHA1 Message Date
Paul Schaub f60e14de96
Bump gradlew to 7.2 2022-11-07 01:18:51 +01:00
Paul Schaub 8494f413e6
inline-verify: flush printwriter of --verifications-out 2022-11-07 01:17:54 +01:00
Paul Schaub aa953428ee Be less finnicky about session key formats 2022-11-06 20:30:03 +01:00
Paul Schaub dd5d790e21
Properly format session keys for --session-key-out 2022-11-06 20:22:40 +01:00
Paul Schaub 40919be3f7
sop decrypt: rename --verify-out to --verifications-out
--verify-out is still available as an alias.
See https://gitlab.com/dkg/openpgp-stateless-cli/-/issues/55
2022-11-06 19:02:37 +01:00
Paul Schaub 4ba864e1cd
Bump asciidoctor gradle plugin to 3.3.2 2022-11-06 15:12:00 +01:00
Paul Schaub 46e62e9e40
SOP-Java 4.0.3-SNAPSHOT 2022-11-06 14:58:18 +01:00
Paul Schaub 60ef0a15a8
SOP-Java 4.0.2 2022-11-06 14:56:36 +01:00
Paul Schaub 1aaac4e4b9
Update CHANGELOG 2022-11-06 14:43:22 +01:00
Paul Schaub fd4c22cde6
Add --stacktrace option 2022-11-06 14:41:52 +01:00
Paul Schaub c32ef9830b
Properly throw CannotDecrypt exception with error message 2022-11-06 14:41:37 +01:00
Paul Schaub e75dde1637
Remove colons from error message 2022-11-06 14:40:53 +01:00
Paul Schaub 162ae120c3
Update changelog 2022-11-05 18:11:02 +01:00
Paul Schaub 043e95e5c0 Fix arity of arguments in verify commands
Fixes https://github.com/pgpainless/pgpainless/issues/330
2022-11-05 18:06:53 +01:00
Paul Schaub 04d38b988a Merge branch 'manPages' 2022-08-08 00:15:05 +02:00
Paul Schaub 29660a1d3f
SOP-Java 4.0.2-SNAPSHOT 2022-08-04 13:59:06 +02:00
Paul Schaub a14f008215
SOP-Java 4.0.1 2022-08-04 13:57:41 +02:00
Paul Schaub 06d92eecf3
Update changelog 2022-08-04 13:56:16 +02:00
Paul Schaub e17d4d2efb
Add shared resources to all subcommand bundles 2022-08-04 13:14:21 +02:00
Paul Schaub 092a83a1e7 Merge branch 'sharedResource' 2022-08-04 12:51:32 +02:00
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 d80a0a067f
Sign: Test that key passwords are passed down from CLI 2022-08-01 18:46:11 +02:00
Paul Schaub c4cbf8ff69
Add tests for getOutput 2022-08-01 18:31:56 +02:00
Paul Schaub fe729c4eb8
Add AbstractSopCmdTest to test getInput method 2022-08-01 18:21:41 +02:00
Paul Schaub b7c1b4f1a1
Remove unused methods from Print class 2022-08-01 17:44:22 +02:00
Paul Schaub 01dbaab598
Delete .travis.yml 2022-08-01 17:41:03 +02:00
Paul Schaub a651abb44e
Replace badges for Travis-CI with Codeberg-CI and fix coverage badge 2022-08-01 17:09:39 +02:00
Paul Schaub ed150e51a8
Woodpecker: Attempt to fix branch name 2022-08-01 16:40:18 +02:00
Paul Schaub 1e9b1c77d3
Clean up woodpecker scripts 2022-08-01 16:09:41 +02:00
Paul Schaub 5fb1146dfb
Add .woodpecker/ for codeberg-ci 2022-08-01 16:03:46 +02:00
Paul Schaub 8c581d459a
WIP: Add task for generating man pages 2022-07-27 21:40:24 +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