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 Rendered 1

2 AIEN Sovereign Intelligence 3

4 5 # rad-id-sync 6 7 [![Crates.io](https://img.shields.io/badge/crates.io-v0.1.0-orange.svg)](https://github.com/aien-dev/rad-id-sync) 8 [![License](https://img.shields.io/badge/license-MIT%20OR%20Apache--2.0-blue.svg)](LICENSE) 9 [![Security](https://img.shields.io/badge/tpm--vault-zero--disk--secrets-green.svg)](SECURITY.md) 10 [![Standard](https://img.shields.io/badge/standard-unslop-black.svg)](CONTRIBUTING.md) 11 [![Mission](https://img.shields.io/badge/mission-sovereign--defense-amber.svg)](https://drakestapleton.com) 12 13 Cryptographic identity synchronization and Ed25519 key anchor extension for Radicle sovereign git collaboration. Written in native Rust with Mojo/C FFI bindings. 14 15 ## Overview 16 17 `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. 18 19 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. 20 21 ## Architecture & Identity Flow 22 23 ```mermaid 24 sequenceDiagram 25 participant Host as DGX Spark Host 26 participant TPM as TPM Hardware Vault 27 participant Sync as rad-id-sync 28 participant Anchor as Identity Anchor Ledger 29 participant Radicle as Radicle P2P Node 30 31 Host->>Sync: Execute rad-id-sync sync 32 Sync->>TPM: Verify Hardware Key State 33 Sync->>Host: Read ~/.radicle/keys and ~/.ssh/id_`ed25519`.pub 34 Sync->>Sync: Compute SHA-256 Key Fingerprints 35 Sync->>Anchor: Record Key History & Status 36 Anchor-->>Radicle: Anchor DID did:rad:aien:spark-master 37 Radicle-->>Host: Cryptographic Sync Verified 38 ``` 39 40 ## Features 41 42 - **Decentralized Identity Anchoring**: Formats and maintains W3C-compatible Decentralized Identifiers (`did:rad:...`) for autonomous agents and human operators. 43 - **SHA-256 Key Fingerprinting**: Generates canonical cryptographic hashes of Ed25519 and SSH keys for tamper-evident ledgering. 44 - **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. 45 - **Zero Disk Secrets**: Never touches, copies, or persists private keys. Reads only public key material and interacts with hardware TPM vaults for signing operations. 46 47 ## CLI Usage 48 49 ```bash 50 # Display current identity anchor status and registered keys 51 rad-id-sync status 52 53 # Synchronize local keys with the identity ledger 54 rad-id-sync sync 55 56 # Output machine-readable JSON report for automation pipelines 57 rad-id-sync json 58 ``` 59 60 ## C / Mojo FFI Interface 61 62 `rad-id-sync` compiles as both an executable binary and a native shared library (`cdylib`): 63 64 ```c 65 // Retrieve current identity anchor JSON 66 const char* rad_id_sync_get_identity_json(); 67 68 // Execute full identity key sync 69 int rad_id_sync_run(); 70 ``` 71 72 ## Building & Verification 73 74 ```bash 75 # Build binary and shared C library 76 cargo build --release 77 78 # Run verification test suite 79 cargo test --verbose 80 ``` 81 82 ## Sovereign Mission 83 84 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. 85 86 ## License 87 88 Licensed under either of [Apache License, Version 2.0](LICENSE) or [MIT License](LICENSE) at your option.