Commit Graph

16 Commits

Author SHA1 Message Date
Paul Schaub ae64414492
Decide when to remove --verify-out 2023-04-09 19:00:35 +02:00
Paul Schaub ff5f98e8ee sop decrypt: Throw NoSignature if no verifiable signature found 2023-01-13 17:41:20 +01:00
Paul Schaub d9708e882d
decrypt: rename --not-after, --not-before to --verify-not-after, --verify-not-before 2023-01-12 14:03:12 +01:00
Paul Schaub 9ea9cd22b8
Fix writing out of session key - again 2022-11-07 16:20:37 +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 c32ef9830b
Properly throw CannotDecrypt exception with error message 2022-11-06 14:41:37 +01:00
Paul Schaub dc5f11469f
Rename resource bundles and name resources after options/parameters 2022-08-04 12:15:53 +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 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 45ee435a18
Add support for --with-key-password to DecryptCmd 2022-05-24 22:10:21 +02:00
Paul Schaub 3e1502ff2a
Fix exception handling and add tests 2022-02-09 23:35:44 +01:00
Paul Schaub 117117b735
Treat password and sessionkkey arguments as indirect data types 2022-02-09 15:12:23 +01:00
Paul Schaub 8e3ee6c284
Initial commit 2022-01-11 13:46:05 +01:00