
Tessera is a stateless Java system that is used to enable the encryption, decryption, and distribution of private transactions for Quorum.
Each Tessera node:
Generates and maintains a number of private/public key pairs
Self manages and discovers all nodes in the network (i.e. their public keys) by connecting to as few as one other node
Provides Private and Public API interfaces for communication:
Provides two way SSL using TLS certificates and various trust models like Trust On First Use (TOFU), whitelist, certificate authority, etc.
Supports IP whitelist
Connects to any SQL DB which supports the JDBC client
To build and install Tessera:
Tessera can be built with different NaCl cryptography implementations:
mvn install
Install libsodium as detailed on the kalium project page, then run
mvn install -Pkalium
java -jar tessera-app/target/tessera-app-${version}-app.jar -configfile config.json
Once Tessera has been configured and built, you may want to copy the .jar to another location, create an alias and add it to your PATH:
alias tessera="java -jar /path/to/application-${version}-app.jar"
You will then be able to more concisely use the Tessera CLI commands, such as:
tessera -configfile /path/to/config.json
and
tessera help
By default, Tessera uses an H2 database. To use an alternative database, add the necessary drivers to the classpath:
java -cp some-jdbc-driver.jar:/path/to/tessera-app.jar:. com.quorum.tessera.Launcher
For example, to use Oracle database:
java -cp ojdbc7.jar:tessera-app.jar:. com.quorum.tessera.Launcher -configfile config.json
DDLs have been provided to help with defining these databases.
A configuration file detailing database, server and network peer information must be provided using the -configfile
command line property.
An in-depth look at configuring Tessera can be found on the Tessera Wiki and includes details on all aspects of configuration including:
Tessera is the service used to provide Quorum with the ability to support private transactions, replacing Constellation. If you have previously been using Constellation, utilities are provided within Tessera to enable the migration of Constellation configuration and datastores to Tessera compatible formats. Details on how to use these utilities can be found in the Tessera Wiki.
Content type
Image
Digest
Size
89.3 MB
Last updated
about 8 years ago
docker pull erolagnab/tessera:test