Abstimm-ID Daemon - Dienst zum Erstellen von Abstimm-IDs (https://git.netzbegruenung.de/NB-Public/abstimm-id)
Go to file
2020-10-23 18:35:08 +02:00
php-public Implement API (#1) 2020-10-23 17:21:13 +02:00
config.ini Implement API (#1) 2020-10-23 17:21:13 +02:00
create-table.sql DB: change hash length 2020-10-23 17:22:22 +02:00
functions.php Fix Hash caching condition 2020-10-23 17:27:18 +02:00
generate_hashes.sh Add hash generating bash script 2020-10-23 18:35:08 +02:00
LICENSE Initial commit 2020-10-20 13:33:03 +02:00
README.md Readme: Event token should be a secret 2020-10-20 14:21:05 +02:00

Abstimm-ID Daemon

Abstimm-ID Daemon - Dienst zum Erstellen und Abfragen von Abstimm-IDs (https://git.netzbegruenung.de/NB-Public/abstimm-id).

Daemon for retrieving Argon2 hashes for user pseudonymisation in vote result lists.

API definition

Get vote ID

REQUEST

Request Headers - endpoint requires SSL client certificate

GET /get_ids HTTP/1.1
Host: abstimmidd.netzbegruenung.de
Content-Type: application/json

Request Body

{
"event_token": String,    // Secret event token to identify event
"round": Number,          // nth vote round
"user_names": [           // User names for which the Hash should be retrieved
    String,
  [...]                 // repeat for all users for which the hash is needed
  ]
}

RESPONSE

[
  {
    "round": Number,      // nth vote round
    "user_name": String,  // name of a user
    "hash": String        // Argon2 hash of user with round in Salt 
  },
  [...]                   // repeats for all users listed in request
]