Open FastFelix771 opened 6 years ago
GET back.end/global/encryption-key
Response-Code: 302 Found
{ "success": true, "content": { "ttl": 1440, "key": "BASE-64 encoded encryption-key", "algorithm": "RSA", "key-length": 4096, "checksum": { "algorithm": "SHA-512", "hash": "sha checksum hash" } } }
Response-Code: 500 Internal Server Error
{ "success": false, "content": "ERROR_MESSAGE" }
Response-Code: 410 Gone
{ "success": false, "content": "PUBLIC_KEY_INACCESSIBLE" }
If the backend is unable to load the encryption-key from cache or disk.
Request Example
Reponse Examples
Success
Response-Code: 302 Found
Failure
Response-Code: 500 Internal Server Error
Response-Code: 410 Gone
If the backend is unable to load the encryption-key from cache or disk.