[verified] Add QR codec and ratatui roster.

M2: onionwire:v1 signed payload, Unicode QR, same-k locator update,
unknown-k approval in TUI. F4 is a no-op stub. No Tor in the bin.
This commit is contained in:
Sirius DevOps 2026-09-10 01:54:19 -04:00
commit 4fb4648552
No known key found for this signature in database
8 changed files with 959 additions and 32 deletions

View file

@ -1,16 +1,11 @@
fn main() {
match onionwire::Store::open() {
Ok(store) => match store.self_identity() {
Ok(me) => {
let fp: String = me.identity_pk.iter().map(|b| format!("{b:02x}")).collect();
println!("onionwire ready");
println!("fingerprint {fp}");
}
Err(e) => {
Ok(store) => {
if let Err(e) = onionwire::tui::run(store) {
eprintln!("onionwire: {e}");
std::process::exit(1);
}
},
}
Err(e) => {
eprintln!("onionwire: {e}");
std::process::exit(1);