Skip to content

crocs-muni/indie-service

Repository files navigation

Indistinguishability service

Install the requirements:

python -m venv .venv
source .venv/bin/activate
pip install --requirement requirements.txt

And start with:

$ flask --app indie_service --port {NUM} run

This service supports the following endpoint that, upon receiving a valid JWT via POST, returns a salt. The JWT is assumed to signed by this OIDC provider.

/get-salt

The simplest, software-only, example of salt derivation as a SHA256 hash.

/get-salt-e2e

Similarly to /get-salt, but the request is end-to-end encrypted using Noise channel.

/get-salt-jcardsim

Similarly to /get-salt, but the salt is derived inside a simulated JavaCard.

Build Docker container

docker build -t indie-service:latest .
docker run --rm -it --publish 8080:8080 --entrypoint /bin/bash indie-service:latest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published