[verified] feat(tui): drop unicode QR, share onionwire:v1 invite
Some checks failed
ci / test (push) Has been cancelled

F2 shows the invite string with fp/onion hints instead of a terminal QR.
Keep encode/decode and F3 paste; drop the qrcode crate.
This commit is contained in:
Sirius DevOps 2026-09-10 16:53:03 -04:00
commit 4fb47444d5
No known key found for this signature in database
9 changed files with 64 additions and 55 deletions

View file

@ -90,19 +90,6 @@ fn bad_sig_is_err() {
assert!(qr::decode(&format!("{head}:sig={flipped}")).is_err());
}
#[test]
fn unicode_qr_renders() {
let _home = TempHome::new();
let store = Store::open().expect("open");
let me = store.self_identity().expect("self");
let raw = qr::encode(&me.identity_sk, &v3onion("x"), &[1u8; 32]).expect("encode");
let art = qr::render_unicode(&raw).expect("render");
assert!(
art.contains('█') || art.contains('▀') || art.contains('▄') || art.contains('▌'),
"expected unicode blocks, got {art:?}"
);
}
#[test]
fn same_k_rescan_updates_onion_not_duplicate() {
let _home = TempHome::new();