Commit Graph

97 Commits

Author SHA1 Message Date
Paul Schaub 530c44ad16
Typos and improvements 2023-07-12 14:57:51 +02:00
Paul Schaub 9ad59abb2a
Improve description of extract-cert 2023-07-12 14:30:45 +02:00
Paul Schaub cd2c62ce2b
Improve description of change-key-password 2023-07-12 14:30:23 +02:00
Paul Schaub edb384d157
Reference exit codes by Exception 2023-07-12 14:22:57 +02:00
Paul Schaub feb9efc733
Reorder subcommands 2023-07-12 14:20:53 +02:00
Paul Schaub 009364b217
Add missing i18n and fix broken strings 2023-07-12 14:17:28 +02:00
Paul Schaub f13aade98e
Add missing parameter labels 2023-07-12 14:15:47 +02:00
Paul Schaub d1c614344c
Update i18n 2023-07-12 01:35:25 +02:00
Paul Schaub 6afe6896d8
Implement '--signing-only' option for 'generate-key' command 2023-07-12 01:06:41 +02:00
Paul Schaub 7e1377a28c
Initial implementation of 'change-key-password' command of SOP-07 2023-07-12 00:42:02 +02:00
Paul Schaub e6393b44b9
Initial implementation of 'revoke-key' command 2023-07-11 22:42:16 +02:00
Paul Schaub 0308732328
Make UTCUtil.parseUTCDate() throw instead of returning null for malformed inputs 2023-04-27 13:07:08 +02:00
Paul Schaub 226b5d99a0
Fix issues with i18n properties 2023-04-26 16:47:53 +02:00
Paul Schaub 790d80ec29
DateParsingTest: make armor command final 2023-04-26 16:22:53 +02:00
Paul Schaub 90c77706a8
Add i18n for profile option 2023-04-17 14:44:08 +02:00
Paul Schaub 8a66f0bc4f
Implement sop encrypt --profile=XXX 2023-04-17 14:44:08 +02:00
Paul Schaub f4ff5f89f7
i18n for sop version --sop-spec 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 a3bff6f6d1
Fix checkstyle issues 2023-04-17 14:12:01 +02:00
Paul Schaub 5d2f87eb80
msg_sop.properties: Add newline at the end 2023-04-17 13:16:13 +02:00
Paul Schaub 6ec62560ba
Add comment about why --as=clearsigned and --no-armor are incompatible 2023-04-17 13:13:36 +02:00
Paul Schaub 64c0fb11bc
ListProfilesCmd: Replace System.out.println() with Print.outln() 2023-04-17 13:03:18 +02:00
Paul Schaub d38556f79a
GenerateKeyCmd: Do not assert default profile 2023-04-14 15:06:07 +02:00
Paul Schaub dff5b01eec
Add some documentation to AbstractSopCmd 2023-04-14 14:06:49 +02:00
Paul Schaub 5935d65c90
Implement profiles 2023-04-14 14:06:34 +02:00
Paul Schaub 83a003e80f
Add list-profiles command 2023-04-11 15:06:37 +02:00
Paul Schaub 17b305924c
Throw IncompatibleOptions error for sign --as=clearsigned --no-armor 2023-04-09 19:53:21 +02:00
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 2328bdf6af
Fix parameter label of --as=clearsigned 2022-12-13 17:06:35 +01:00
Paul Schaub 519fb891a1
Dearmor: transform IOExceptions into BadData properly 2022-11-18 15:17:33 +01:00
Paul Schaub 0e777de14f
Make asciiDoctor gradle task generate reproducible output 2022-11-15 21:43:43 +01:00
Paul Schaub 0ed7163fd5
Fix capitalization of @ENV/@FD descriptions 2022-11-15 21:29:45 +01:00
Paul Schaub ed46adbe52
Add resource string for --stacktrace option 2022-11-15 15:49:06 +01:00
Paul Schaub 00ab68b504
Allow larger numbers for file descriptor names 2022-11-14 13:54:08 +01:00
Paul Schaub 4bc45a0692
Add support for using file descriptors as input and output
Fixes #12
2022-11-11 15:56:33 +01:00
Paul Schaub 7326d3cf85
Add tests for writing out of session key and verifications 2022-11-07 16:21:50 +01:00
Paul Schaub 9ea9cd22b8
Fix writing out of session key - again 2022-11-07 16:20:37 +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 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 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 e17d4d2efb
Add shared resources to all subcommand bundles 2022-08-04 13:14:21 +02:00