Commit Graph

41 Commits

Author SHA1 Message Date
Paul Schaub 243d64fcb4 Bump sop-java to 4.0.5 and adopt changes (--as=clearsigned) 2022-11-11 13:46:43 +01:00
Paul Schaub 858f8e00f3
Rework CLI tests 2022-11-09 22:02:16 +01:00
Paul Schaub 095e58eddc
Update man page documentation 2022-11-06 15:08:07 +01:00
Paul Schaub a1eceaf8e1
Add manpages, script to generate manpages 2022-08-08 00:23:58 +02:00
Paul Schaub b23a1d77a3
Bump sop-java version to 4.0.1 and override executable name 2022-08-04 14:05:12 +02:00
Paul Schaub cc9af93e75
Fix command usage strings not being picked up due to renamed parent command 2022-07-23 01:16:28 +02:00
Paul Schaub b217b8b218
cli: Use dedicated shadow plugin for building fat jar
'gradle shadowJar' can be used to build a fat jar
'gradle jar' now only builds slim jar
2022-07-08 18:26:45 +02:00
Paul Schaub 3f16c54867 Create test util to write data to temp file 2022-06-19 16:59:42 +02:00
Paul Schaub 7074ff5f2f Rename command tests and add generate-key test for encrypted keys 2022-06-19 16:59:42 +02:00
Paul Schaub a3b2070e76 Rename test and reference exit codes directly 2022-06-19 16:59:42 +02:00
Paul Schaub 53df487e59 Adopt changes from SOP-Java and add test for using incapable keys 2022-06-19 16:59:42 +02:00
Paul Schaub 0b69e18715 Experimental support for inline-sign, inline-verify 2022-06-19 16:59:42 +02:00
Paul Schaub be6c16079e
Switch to version agnostic SOP spec URL 2022-05-07 22:15:13 +02:00
Paul Schaub 9558deab74
Set mainClass name in application section 2022-04-11 12:11:26 +02:00
Paul Schaub 7eb2f5fb4d
Document how PGPainlessCLI works 2022-04-02 17:16:37 +02:00
Paul Schaub 36c5ec8a28 Host javadoc on javadoc.io 2022-02-15 14:29:07 +01:00
Paul Schaub 7aa48f458b Fix pgpainless-cli:jar resolution of pgpainless-sop.jar 2022-01-15 02:46:42 +01:00
Paul Schaub ef02163d97 Remove dependency on picocli 2022-01-15 02:46:42 +01:00
Paul Schaub c6bc8f9774 Moved sop-java and sop-java-picocli to its own repositories
See https://github.com/pgpainless/sop-java
See https://codeberg.org/PGPainless/sop-java
2022-01-15 02:46:42 +01:00
Paul Schaub 1cb49f4b12 Update SOP implementation to the latest spec version
See https://datatracker.ietf.org/doc/html/draft-dkg-openpgp-stateless-cli-03
2022-01-15 02:46:41 +01:00
Paul Schaub 39686949d2
Bump dependencies 2021-12-28 13:32:33 +01:00
Paul Schaub e96d668ee2 Clean up code 2021-12-28 12:18:51 +01:00
Paul Schaub fae5cd0efe
SOP: Fix signing using key with missing signing key 2021-12-02 15:10:53 +01:00
Paul Schaub 0515c38133
gradle jar: define duplicate-strategy 2021-11-15 13:03:00 +01:00
Paul Schaub a9a61bc799
Improve library usage of slf4j and logback.
Logback-classic is now a test dependency and is additionally declared as OPTIONAL runtime dependency.
Applications that don't want to use logback can now easily disable it by not explicitly depending on it.
2021-10-29 20:28:14 +02:00
Paul Schaub e390389c0a Reuse compliance 2021-10-07 16:28:31 +02:00
Paul Schaub 5e2286de0d
Rework dependencies 2021-09-17 18:16:58 +02:00
Paul Schaub 1a0635c71e
detach-inband-signature-and-message: test --no-armor 2021-09-07 17:30:40 +02:00
Paul Schaub bc20a14588
Add test for detach-inband-signature-and-message 2021-09-07 16:44:16 +02:00
Paul Schaub 004a761fdb Globally set slf4j version 2021-08-26 15:03:20 +02:00
Paul Schaub 1124c6fd15 Wip: Configure logback logging 2021-08-26 15:03:20 +02:00
Paul Schaub 4e83281213 Wip: Remove allowNested, add FileUtil 2021-08-23 14:26:17 +02:00
Paul Schaub 788c82531e Wip: Adopt changes from the SOP specification version 2 2021-08-23 14:26:17 +02:00
Paul Schaub 311c842196
Revert introduction of StreamUtil 2021-07-31 20:40:31 +02:00
Paul Schaub fc311fe781
Workaround for #159: Avoid to prevent swallowing IOExceptions 2021-07-26 16:19:30 +02:00
Paul Schaub 10bb033e40
Set executable name for pgpainless-cli 2021-07-23 21:02:58 +02:00
Paul Schaub 4244107994
Add readmes for all modules 2021-07-17 00:27:58 +02:00
Paul Schaub 88faaf5dd0
Update pgpainless-cli/README.md 2021-07-15 17:50:57 +02:00
Paul Schaub 2e55737795
Fix piping into 'gradle run' 2021-07-15 17:27:47 +02:00
Paul Schaub f662a3dba9
Rename pgpainless run script and fix parameter passing 2021-07-15 17:22:39 +02:00
Paul Schaub 8cf5347b52 Base PGPainlessCLI on new sop-java module
* Rename pgpainless-sop -> pgpainless-cli
* Introduce sop-java (implementation-independent SOP API)
* Introduce sop-java-picocli (CLI frontend for sop-java)
* Introduce pgpainless-sop (implementation of sop-java using PGPainless)
* Rework pgpainless-cli (plugs pgpainless-sop into sop-java-picocli)
2021-07-15 17:03:56 +02:00