Commit Graph

15 Commits

Author SHA1 Message Date
Knut Ahlers
28c8eda61e
Lint: Update linter config
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-09-22 13:10:07 +02:00
Knut Ahlers
136c0e2c96
Fix: Use a default maxSecretSize and limit the payload read (#144) 2023-10-25 10:11:54 +02:00
Knut Ahlers
5ad6449757
Implement metrics collection for API server (#143) 2023-10-23 14:05:20 +02:00
Knut Ahlers
1623e09225
Add server side check for maximum secret size
closes #138

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-10-21 19:35:57 +02:00
Knut Ahlers
9a530e1c66
Implement attachment checking in CLI (#141) 2023-10-21 17:12:08 +02:00
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