[verified] fix(hs): redact onion in publish logs; cache 0700
All checks were successful
ci / test (pull_request) Successful in 3m0s

wait_until_published now logs HsId via safelog, not the locator.
Store and client_config mkdir Arti cache/state 0700. Arti
dangerously_trust_everyone stays on storage only.
This commit is contained in:
Sirius DevOps 2026-09-10 20:30:18 -04:00
commit 424002c0f5
No known key found for this signature in database
6 changed files with 56 additions and 8 deletions

View file

@ -117,6 +117,7 @@ impl Store {
}
mkdir_700(home)?;
mkdir_700(&home.join("arti"))?;
mkdir_700(&home.join("cache"))?;
let db_path = home.join("onionwire.db");
let conn = Connection::open(&db_path)?;
let journal: String = conn.query_row("PRAGMA journal_mode = WAL", [], |row| row.get(0))?;