v0.0.2 - Add random mnemonic startup flow and multi-instance random socket naming

This commit is contained in:
Laan Tungir
2026-05-02 13:46:01 -04:00
parent 268b33b6d3
commit 21f1258844
25 changed files with 1175 additions and 285 deletions

12
src/socket_name.h Normal file
View File

@@ -0,0 +1,12 @@
#ifndef NSIGNER_SOCKET_NAME_H
#define NSIGNER_SOCKET_NAME_H
#include <stddef.h>
/*
* Generate random socket name in format: nsigner_<word1>_<word2>
* Returns 0 on success, -1 on error.
*/
int socket_name_random(char *out, size_t out_len);
#endif /* NSIGNER_SOCKET_NAME_H */