Cache web authentication results
Add a short-lived, HMAC-keyed cache for validated principals and invalidate entries when principals become stale. Improve duplicate SSH key errors and enable Ed25519 streaming verification.
This commit is contained in:
@@ -24,6 +24,7 @@ extern "C" {
|
||||
#define USER_DATABASE_SSH_KEY_TYPE_CAPACITY 32U
|
||||
#define USER_DATABASE_SSH_KEY_BLOB_CAPACITY 128U
|
||||
#define USER_DATABASE_SHA256_LENGTH 32U
|
||||
#define USER_DATABASE_ERR_DUPLICATE_SSH_KEY ESP_ERR_NOT_ALLOWED
|
||||
|
||||
typedef enum {
|
||||
USER_ROLE_USER = 1,
|
||||
|
||||
Reference in New Issue
Block a user