mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-1218: Include "encrypt-json.sh" reference implementation in guacamole-auth-json dist archive.
This commit is contained in:
@@ -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
|
||||||
|
|
@@ -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>
|
||||||
|
Reference in New Issue
Block a user