Without atecc608b

This commit is contained in:
2026-04-17 18:56:01 +02:00
parent ab00a59f29
commit 955390c358
8 changed files with 229 additions and 52 deletions

View File

@@ -4,9 +4,8 @@
#include <stdbool.h>
/**
* Read the ATECC608B public key, format it as an SSH authorized_keys entry,
* and print it to the console. Call this once at boot so the key can be
* added to the server's authorized_keys file.
* Derive the public key from the eFuse ECDSA private key, format it as an
* SSH authorized_keys entry, and print it to the console.
*
* Output format:
* ecdsa-sha2-nistp256 <base64-blob> keypitecc
@@ -15,7 +14,7 @@ void ssh_print_public_key(void);
/**
* Open a TCP connection to the configured SSH server, authenticate using the
* ATECC608B hardware key, execute @p cmd, log the output, and disconnect.
* eFuse ECDSA hardware key, execute @p cmd, log the output, and disconnect.
*
* @param cmd Shell command string to run on the remote host.
* @return true on success, false on any error.