Generates new key-pair
Example request:
POST /gen_key HTTP 1.1
Content-Type: application/json
{
"name_real": "foo_bar",
"name_email": "foo_bar@example.com"
}
Return: | Http response with plain text content |
---|---|
Status Codes: |
|
Checks if server still alive
Status Codes: |
|
---|
Parameters: |
|
---|---|
Returns: | (stdout, stderr) from gpg invocation |
Need this to tell signd server that name_email available in keyring Key not protected by passphrase, so we write something to passphrase file.