datashare-network-tokenserver 
A server to issue tokens based on blind signature
It is based on springlab@EPFL SScred based itself on petlib and itelf based on openssl.
It is supposed to be secured behind an SSO/OAuth2 server.
Configuration
Configuration is provided with environment variables :
- TOKEN_SERVER_REDIS_URL: redis url (default:
redis://redis) - TOKEN_SERVER_REDIS_TTL: time to live for commitments internal parameters (default 30s)
- TOKEN_SERVER_SKEY: master secret key for the server encoded in msgpack hex string
Endpoints
All endpoints should be secured with HTTPS (TLS).
GET /publickey- returns the server public key
POST /commitments?uid=foo&number=3- parameters :
- number: (int) number of token to generate
- uid: (string) user id
- returns a commitment list msg pack encoded
- parameters :
POST /pretokens?uid=foo- parameters :
- uid: (string) user id
- payload: list of pretokens msg pack encoded
- returns a token list msg pack encoded
- parameters :
Metadata
Release files for datashare-network-tokenserver 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| datashare-network-tokenserver-0.1.2.tar.gz | 33.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| datashare_network_tokenserver-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 51.7 kB