Skip to main content

Crate runar_keys

Crate runar_keys 

Source
Expand description

Runar Keys Fix - Production-Ready Certificate System

A robust, standards-compliant certificate management system for the Runar network. This implementation replaces the existing custom certificate system with proper X.509 certificates and a unified ECDSA P-256 cryptographic foundation.

§Key Features

  • Standard X.509 Certificates: Full compliance with PKI standards
  • Unified Cryptography: Single ECDSA P-256 algorithm throughout
  • Proper CA Hierarchy: Mobile CA signs all node certificates
  • QUIC Compatibility: Certificates work seamlessly with QUIC transport
  • Production Quality: Comprehensive validation and error handling

§Architecture

Mobile User CA (Self-signed root)
└── Node TLS Certificate (signed by Mobile CA)
    └── Used for all QUIC/TLS operations

Re-exports§

pub use certificate::CertificateAuthority;
pub use certificate::CertificateValidator;
pub use certificate::X509Certificate;
pub use error::KeyError;
pub use error::Result;
pub use mobile::MobileKeyManager;
pub use node::NodeKeyManager;

Modules§

certificate
Certificate operations and X.509 certificate management
derivation
error
Error types for the certificate system
mobile
Mobile Key Manager - Certificate Authority Operations
node
Node Key Manager - Certificate Request and Management

Macros§

log_debug
log_error
log_info
log_warn

Traits§

EnvelopeCrypto
High-level envelope encryption / decryption used by higher layers.