8a66f0bc4f
Implement sop encrypt --profile=XXX
2023-04-17 14:44:08 +02:00
f4ff5f89f7
i18n for sop version --sop-spec
2023-04-17 14:44:08 +02:00
f49c16e4c5
Implement sop version --sop-spec
2023-04-17 14:44:08 +02:00
a3bff6f6d1
Fix checkstyle issues
2023-04-17 14:12:01 +02:00
5d2f87eb80
msg_sop.properties: Add newline at the end
2023-04-17 13:16:13 +02:00
6ec62560ba
Add comment about why --as=clearsigned and --no-armor are incompatible
2023-04-17 13:13:36 +02:00
64c0fb11bc
ListProfilesCmd: Replace System.out.println() with Print.outln()
2023-04-17 13:03:18 +02:00
d38556f79a
GenerateKeyCmd: Do not assert default profile
2023-04-14 15:06:07 +02:00
dff5b01eec
Add some documentation to AbstractSopCmd
2023-04-14 14:06:49 +02:00
5935d65c90
Implement profiles
2023-04-14 14:06:34 +02:00
83a003e80f
Add list-profiles command
2023-04-11 15:06:37 +02:00
17b305924c
Throw IncompatibleOptions error for sign --as=clearsigned --no-armor
2023-04-09 19:53:21 +02:00
ae64414492
Decide when to remove --verify-out
2023-04-09 19:00:35 +02:00
ff5f98e8ee
sop decrypt: Throw NoSignature if no verifiable signature found
2023-01-13 17:41:20 +01:00
d9708e882d
decrypt: rename --not-after, --not-before to --verify-not-after, --verify-not-before
2023-01-12 14:03:12 +01:00
2328bdf6af
Fix parameter label of --as=clearsigned
2022-12-13 17:06:35 +01:00
519fb891a1
Dearmor: transform IOExceptions into BadData properly
2022-11-18 15:17:33 +01:00
0e777de14f
Make asciiDoctor gradle task generate reproducible output
2022-11-15 21:43:43 +01:00
0ed7163fd5
Fix capitalization of @ENV/@FD descriptions
2022-11-15 21:29:45 +01:00
ed46adbe52
Add resource string for --stacktrace option
2022-11-15 15:49:06 +01:00
00ab68b504
Allow larger numbers for file descriptor names
2022-11-14 13:54:08 +01:00
4bc45a0692
Add support for using file descriptors as input and output
...
Fixes #12
2022-11-11 15:56:33 +01:00
7326d3cf85
Add tests for writing out of session key and verifications
2022-11-07 16:21:50 +01:00
9ea9cd22b8
Fix writing out of session key - again
2022-11-07 16:20:37 +01:00
8494f413e6
inline-verify: flush printwriter of --verifications-out
2022-11-07 01:17:54 +01:00
aa953428ee
Be less finnicky about session key formats
2022-11-06 20:30:03 +01:00
dd5d790e21
Properly format session keys for --session-key-out
2022-11-06 20:22:40 +01:00
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
4ba864e1cd
Bump asciidoctor gradle plugin to 3.3.2
2022-11-06 15:12:00 +01:00
fd4c22cde6
Add --stacktrace option
2022-11-06 14:41:52 +01:00
c32ef9830b
Properly throw CannotDecrypt exception with error message
2022-11-06 14:41:37 +01:00
e75dde1637
Remove colons from error message
2022-11-06 14:40:53 +01:00
043e95e5c0
Fix arity of arguments in verify commands
...
Fixes https://github.com/pgpainless/pgpainless/issues/330
2022-11-05 18:06:53 +01:00
04d38b988a
Merge branch 'manPages'
2022-08-08 00:15:05 +02:00
e17d4d2efb
Add shared resources to all subcommand bundles
2022-08-04 13:14:21 +02:00
092a83a1e7
Merge branch 'sharedResource'
2022-08-04 12:51:32 +02:00
dcb44f96c8
Fix wrongly named resource entries
2022-08-04 12:48:32 +02:00
dc5f11469f
Rename resource bundles and name resources after options/parameters
2022-08-04 12:15:53 +02:00
d80a0a067f
Sign: Test that key passwords are passed down from CLI
2022-08-01 18:46:11 +02:00
c4cbf8ff69
Add tests for getOutput
2022-08-01 18:31:56 +02:00
fe729c4eb8
Add AbstractSopCmdTest to test getInput method
2022-08-01 18:21:41 +02:00
b7c1b4f1a1
Remove unused methods from Print class
2022-08-01 17:44:22 +02:00
8c581d459a
WIP: Add task for generating man pages
2022-07-27 21:40:24 +02:00
7de94f1815
Set resource bundle for help command
2022-07-27 14:30:48 +02:00
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
3801a644ef
Do not overwrite command name.
...
Doing so would break resolution of command.usage.header strings
2022-07-23 01:21:14 +02:00
86e39809ae
Fix sop.properties sop command header
2022-07-23 01:11:40 +02:00
77c76c57d0
Add InlineDetachCmdTest
2022-06-20 19:50:50 +02:00
55673b52a7
Fix typos in i18n
2022-06-19 18:19:23 +02:00
61ab35ad52
Reference exit codes directly in junit tests
2022-06-11 11:18:45 +02:00
eefb445916
Reformat and restructure exceptions
2022-06-10 16:16:37 +02:00
6d5005660c
Fix format strings
2022-06-09 00:46:25 +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
8184c30617
GenerateKeyCmd: Make --with-key-password indirect data type
2022-05-24 22:13:11 +02:00
45ee435a18
Add support for --with-key-password to DecryptCmd
2022-05-24 22:10:21 +02:00
6438ebc59c
Make Sign.withKeyPassword indirect data type
2022-05-24 22:09:49 +02:00
de11c17967
Rename DetachInbandSignaturesAndMessageCmd to InlineDetachCmd
2022-05-24 21:56:17 +02:00
55aefb799f
Add support for --with-key-password to Sign
2022-05-24 21:55:35 +02:00
8406793d0e
Add param label for PASSWORD
2022-05-24 21:53:14 +02:00
9016c9f428
SOP: Add support for key password in GenerateKeyCmd
2022-05-24 21:49:40 +02:00
fd9192995f
Rename DetachInbandSignatureAndMessage to InlineDetach
2022-05-24 21:19:37 +02:00
33c8e5edc5
Switch to version agnostic SOP spec URLs
2022-05-07 22:17:41 +02:00
5c1862fe7d
Move jsr305 version to version.gradle
2022-04-26 00:34:48 +02:00
a6be316ed2
Move picocli version to version.gradle
2022-04-26 00:34:29 +02:00
aa346459e2
Bump mockito to 4.5.1
2022-04-26 00:33:20 +02:00
8753480e82
Move junit5-system-exit version to version.gradle
2022-04-26 00:32:03 +02:00
eb80c14ce3
Add command name and description for parent command
2022-04-11 13:59:09 +02:00
1030de2ad3
CLI: Document exit codes
2022-04-11 12:13:13 +02:00
06cea1235a
Make sop-java-picocli:jar depend on sop-java:jar
2022-04-11 12:12:57 +02:00
4b6f00e40e
Set mainClass name in application section
2022-04-11 12:12:19 +02:00
6c392addc1
Add hidden generate-completion command
...
This command can be used to generate zsh/bash autocompletion.
See https://picocli.info/autocomplete.html
2022-03-11 17:22:52 +01:00
bbd5b75427
Bump dependency info.picocli:picocli to 4.6.3
2022-02-21 15:20:17 +01:00
582570166c
Bump dependency org.mockito:mockito-core to 4.3.1
2022-02-21 15:19:50 +01:00
e6d6f0337f
Bump dependency com.ginsberg:junit5-system-exit to 1.1.2
2022-02-21 15:19:14 +01:00
4177780653
Host javadoc on javadoc.io
2022-02-11 14:27:29 +01:00
780abbbc51
Add TODO for allowing non-utf8 passwords during decryption
2022-02-10 11:35:22 +01:00
8877bae675
Implement detection of non-UTF8 passwords
2022-02-09 23:59:45 +01:00
3e1502ff2a
Fix exception handling and add tests
2022-02-09 23:35:44 +01:00
117117b735
Treat password and sessionkkey arguments as indirect data types
2022-02-09 15:12:23 +01:00
b2cca38ba7
Fix dependencies
2022-01-11 15:09:06 +01:00
8e3ee6c284
Initial commit
2022-01-11 13:46:05 +01:00