v0.0.20 - Implement TCP auth envelope verification with signed caller pubkey identity, replay protection, tests, and deferred NIP-46 bunker plan

This commit is contained in:
Laan Tungir
2026-05-05 11:22:58 -04:00
parent 17a1b3f020
commit cc797a16df
27 changed files with 1364 additions and 47 deletions

View File

@@ -229,7 +229,7 @@ const char *enforce_strerror(int err);
#define POLICY_MAX_ROLES 16
#define POLICY_MAX_PURPOSES 8
#define POLICY_VERB_MAX_LEN 32
#define POLICY_CALLER_MAX_LEN 64
#define POLICY_CALLER_MAX_LEN 80
/* Prompt behavior */
typedef enum {
@@ -384,7 +384,7 @@ typedef struct {
uid_t uid;
gid_t gid;
pid_t pid;
char caller_id[64]; /* "uid:<n>" */
char caller_id[80]; /* "uid:<n>" */
} caller_identity_t;
/* Server context */