Skip to content

Releases: CESSProject/Kaleido

Kaleido v0.0.2

22 Jul 06:04
d680c5a

Choose a tag to compare

Kaleido v0.0.2 Pre-release
Pre-release

This release contains the following changes.

  • Added support for multiple calls to process_data
  • Added callback_url parameter to process_data on which the calculated PoDR2 data will be posted back. Please see README for more information.

NOTE: This pre-release runs enclave in debug mode.

Kaleido v0.0.1

06 Jul 05:28
42b71ab

Choose a tag to compare

Kaleido v0.0.1 Pre-release
Pre-release

This release implements the computation of PoDR2 Commit data for the given file data encoded as base64.

For an example data below, assuming you are running inside cesslab/sgx-rust docker with port mapped to -p 8080:8080

curl -H 'Content-Type: application/json' -X POST http://localhost:8080/process_data -d '{"data":"aGk=", "block_size":10485, "segment_size":1}'

We get PoDR2 Response as

{"t":{"t0":{"name":"K8ZUiNJlezAdyDIUR+YXuBfu7d0CWUhIisQNmf2pf5A=","n":1,"u":["C85n1fQMaqdUUknET3zK4g7OiaRFtzdb0bKZ7TIroWYB","9L4GD/eFoHRF+w8qQpz1cVSAbpVXNjszp1ap7YRXgfgB"]},"signature":"PoDS97z2mpatJEOtG49kyYBj/WLPFQmkp7xXG48VMxQB"},"sigmas":["/GwDYNuWYLCzrFbU+CpTJpfYSt3wFRw4qnLYdJVAVNMA"],"pkey":"1IMbGs/VlFJ+x55igbsrPfWpONBAk+Dx4BqVnMMFL11WY2ROoraEESY2y9fHTrggvpHukH+wbSaTfbY+MinhRQA="}

Start Kaleido by executing the below command from Kaleido's root directory.

# Set Key pair seed
export ENCLAVE_KEY_SEED="<ENTER_YOUR_SECRET_SEED>"
./app

To view debug logs set

export RUST_LOG="debug"
export RUST_BACKTRACE=1

You can also change the port by setting the following env

export KALEIDO_PORT=<ENTER_YOUR_PORT>