Skip to main content

datashare-network-tokenserver CircleCI

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
  • POST /pretokens?uid=foo
    • parameters :
      • uid: (string) user id
      • payload: list of pretokens msg pack encoded
      • returns a token list msg pack encoded

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)

Source distribution for datashare-network-tokenserver 0.1.2
File Size Uploaded
datashare-network-tokenserver-0.1.2.tar.gz 33.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for datashare-network-tokenserver 0.1.2
File Interpreter ABI Platform
datashare_network_tokenserver-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 51.7 kB

Release files / datashare-network-tokenserver-0.1.2.tar.gz

Download URL datashare-network-tokenserver-0.1.2.tar.gz
Size 33.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b6ada323213a120f7150416d8523a235e347064e35e75d4767481cf948e55552
BLAKE2b-256 checksum
How to use checksums
61cb4c1ffdfa0ffd8ce387e24cbe9c5251d229ed4cbe68812daa427c7e4f66bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.8.2 requests/2.27.1 setuptools/62.0.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.8.10

Release files / datashare_network_tokenserver-0.1.2-py3-none-any.whl

Download URL datashare_network_tokenserver-0.1.2-py3-none-any.whl
Size 17.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ae58f576a69826394639fae41a418dbe483822d29abe276a18b05fa7cd56e60
BLAKE2b-256 checksum
How to use checksums
31208c3919245c051bfa489404ca056cdd0a07c68dd57c03c4b32876d2929bb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.8.2 requests/2.27.1 setuptools/62.0.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page