Implemented initial SSH support. Memory pressure too high for HTTPS and

SSH. Dirty commit.
This commit is contained in:
2026-08-24 22:30:34 +02:00
parent c018bfe361
commit 72d030bc7a
17 changed files with 2314 additions and 27 deletions
+9 -2
View File
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: GPL-3.0-only */
/* Persistent HTTPS identity and administrative Basic credentials. */
/* Persistent HTTPS identity and shared network-administration credentials. */
#pragma once
@@ -75,7 +75,14 @@ esp_err_t web_security_copy_tls_material(
esp_err_t web_security_copy_username(char *output, size_t capacity,
size_t *output_length);
/* Input fields are decoded HTTP Basic components, not the base64 header text. */
/* Protocol-neutral authentication for the shared HTTPS and SSH administrator. */
esp_err_t web_security_authenticate_admin(const uint8_t *username,
size_t username_length,
const uint8_t *password,
size_t password_length,
bool *authenticated);
/* Compatibility name for decoded HTTP Basic components. */
esp_err_t web_security_authenticate_basic(const uint8_t *username,
size_t username_length,
const uint8_t *password,