Commit Graph

10 Commits

Author SHA1 Message Date
Knut Ahlers
8540d4016c
CI: Add code linting (#118) 2023-10-04 22:53:29 +02:00
Knut Ahlers
901c85ca11
[#85] Allow to customize secret expiry (#93) 2023-06-26 23:01:06 +02:00
Knut Ahlers
805a005ed5
[#92] Add detection for write-disabled instances
to deactivate secret creation for non-logged-in users

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-15 18:51:37 +02:00
Knut Ahlers
777aad5483
Log API errors in server log
and hide error details from client in order not to expose secrets

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-14 15:20:14 +02:00
Knut Ahlers
ea631beeef
Replace redis client, move expiry into creation interface
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-10 01:42:46 +02:00
Vic Demuzere
5d4cf17aba
Switch to structs instead of maps in api (#40) 2021-09-07 12:45:27 +02:00
Vic Demuzere
d0f342e28a
Change Cache-Control on responses to no-store (#37) 2021-08-09 17:37:48 +02:00
Knut Ahlers
b51293fe3d
Handle json requests to create API
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-05-10 23:00:08 +02:00
Knut Ahlers
bcef1a1cce
Return 404 on not existent secret
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-08-03 18:20:21 +02:00
Knut Ahlers
9c81f9223f
Initial API
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-08-03 14:13:53 +02:00