GUACAMOLE-1218: Include "encrypt-json.sh" reference implementation in guacamole-auth-json dist archive.

This commit is contained in:
Michael Jumper
2021-09-16 19:29:14 -07:00
parent 002cfded80
commit 0fe3c441d3
2 changed files with 11 additions and 5 deletions

View File

@@ -133,11 +133,11 @@ will be in the Tomcat logs, however.
Reference implementation Reference implementation
------------------------ ------------------------
The source includes a shell script, `doc/encrypt-json.sh`, which uses the The included shell script, `doc/encrypt-json.sh`, uses the OpenSSL command-line
OpenSSL command-line utility to encrypt and sign JSON in the manner that utility to encrypt and sign JSON in the manner that guacamole-auth-json
guacamole-auth-json requires. It is thoroughly commented and should work well requires. It is thoroughly commented and should work well as a reference
as a reference implementation, for testing, and as a point of comparison for implementation, for testing, and as a point of comparison for development. The
development. The script is run as: script is run as:
$ ./encrypt-json.sh HEX_ENCRYPTION_KEY file-to-sign-and-encrypt.json $ ./encrypt-json.sh HEX_ENCRYPTION_KEY file-to-sign-and-encrypt.json

View File

@@ -40,6 +40,12 @@
<directory>target/licenses</directory> <directory>target/licenses</directory>
</fileSet> </fileSet>
<!-- Include reference implementation -->
<fileSet>
<outputDirectory>doc</outputDirectory>
<directory>doc</directory>
</fileSet>
<!-- Include extension .jar --> <!-- Include extension .jar -->
<fileSet> <fileSet>
<directory>target</directory> <directory>target</directory>