ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
private_key_t Struct Reference

Private key structure (for server –ssh-key) More...

#include <lib/crypto/key_types.h>

Data Fields

key_type_t type
 
union { 
 
   uint8_t   private_key_t::ed25519 [64] 
 
   uint8_t   private_key_t::x25519 [32] 
 
key 
 
bool use_ssh_agent
 
bool use_gpg_agent
 
uint8_t public_key [32]
 
char key_comment [256]
 
char gpg_keygrip [64]
 

Detailed Description

Private key structure (for server –ssh-key)

Private key structure supporting both Ed25519 and X25519 keys. Includes agent support flags and metadata for signing operations.

Note
Ed25519 keys: 64 bytes (32-byte seed + 32-byte public key)
X25519 keys: 32 bytes (private scalar)
Agent support: Can use SSH agent or GPG agent for signing (keys stay in agent)
GPG support: use_gpg_agent flag exists but GPG agent support is currently disabled
Warning
GPG agent: use_gpg_agent flag exists but functionality is currently disabled. Setting use_gpg_agent=true will not work until GPG support is re-enabled.

Definition at line 91 of file key_types.h.


The documentation for this struct was generated from the following file: