Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/rad-id-sync/blob/main/README.md # rad-id-sync This project has not described itself yet. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `rad-id-sync / README.md` 88 lines ยท 3670 bytes Raw Blame History Source

AIEN Sovereign Intelligence

# 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 - Decentralized Identity Anchoring: Formats and maintains W3C-compatible Decentralized Identifiers (`did:rad:...`) for autonomous agents and human operators. - SHA-256 Key Fingerprinting: Generates canonical cryptographic hashes of Ed25519 and SSH keys for tamper-evident ledgering. - Mojo & C FFI Layer: Exposes native C-ABI dynamic library exports (`librad_id_sync.so`) for ultra-low-latency invocation from Modular MAX, Mojo scripts, and system shells. - Zero Disk Secrets: Never touches, copies, or persists private keys. Reads only public key material and interacts with hardware TPM vaults for signing operations. ## 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.