interplane.Get Omega
Read in your language

rad-id-sync

This project has not described itself yet.

Brought by drakestapleton

branch main Branches Tags History

rad-id-sync / README.md

88 lines · 3670 bytes Raw Blame History Source

<p align="center"> <img src="assets/avatar.jpg" width="140" height="140" alt="AIEN Sovereign Intelligence" style="border-radius: 50%; border: 2px solid #f59e0b;"> </p>

rad-id-sync

Crates.io License Security Standard Mission

Cryptographic identity synchronization and Ed25519 key anchor extension for Radicle sovereign git collaboration. Written in native Rust with Mojo/C FFI bindings.

Overview

rad-id-sync guarantees cryptographic non-repudiation across distributed peer-to-peer git networks. It automatically discovers, validates, and synchronizes Ed25519 public keys between host SSH keys, Radicle node identities, and local sovereign agent profiles without exposing private keys.

It anchors agent identities (did:rad:aien:...) into a deterministic JSON ledger, ensuring that autonomous code contributions can be verified cryptographically across the Radicle peer lattice.

Architecture & Identity Flow

sequenceDiagram
    participant Host as DGX Spark Host
    participant TPM as TPM Hardware Vault
    participant Sync as rad-id-sync
    participant Anchor as Identity Anchor Ledger
    participant Radicle as Radicle P2P Node

    Host->>Sync: Execute rad-id-sync sync
    Sync->>TPM: Verify Hardware Key State
    Sync->>Host: Read ~/.radicle/keys and ~/.ssh/id_ed25519.pub
    Sync->>Sync: Compute SHA-256 Key Fingerprints
    Sync->>Anchor: Record Key History & Status
    Anchor-->>Radicle: Anchor DID did:rad:aien:spark-master
    Radicle-->>Host: Cryptographic Sync Verified

Features

CLI Usage

# Display current identity anchor status and registered keys
rad-id-sync status

# Synchronize local keys with the identity ledger
rad-id-sync sync

# Output machine-readable JSON report for automation pipelines
rad-id-sync json

C / Mojo FFI Interface

rad-id-sync compiles as both an executable binary and a native shared library (cdylib):

// Retrieve current identity anchor JSON
const char* rad_id_sync_get_identity_json();

// Execute full identity key sync
int rad_id_sync_run();

Building & Verification

# Build binary and shared C library
cargo build --release

# Run verification test suite
cargo test --verbose

Sovereign Mission

Part of the AIEN Sovereign Intelligence initiative. Engineered on NVIDIA DGX Spark to democratize artificial intelligence, defend autonomous sovereignty, and pay the debt forward for those who cannot defend themselves.

License

Licensed under either of Apache License, Version 2.0 or MIT License at your option.