feat: incoming rate limit, identity backup, v0.2.0
All checks were successful
ci / test (push) Successful in 4m11s
All checks were successful
ci / test (push) Successful in 4m11s
App-level token bucket on rend accepts (30/60s, burst 10), panic-safe TUI restore, sqlite WAL + integrity_check fail-closed. Encrypted owbak1 identity backup/restore. README and threat model cover profile, XMR sidecar, backup, mixed-version frames.
This commit is contained in:
parent
1a9b54d138
commit
e63203ff56
14 changed files with 809 additions and 26 deletions
|
|
@ -39,7 +39,8 @@ fn help_overlay_lists_core_bindings() {
|
|||
let help = help_overlay_text();
|
||||
assert!(!help.is_empty());
|
||||
for needle in [
|
||||
"Tab", "F2", "F3", "F4", "F5", "/profile", "/pay", "/tip", "Ctrl-Q", "?",
|
||||
"Tab", "F2", "F3", "F4", "F5", "/profile", "/pay", "/tip", "/backup", "/restore", "Ctrl-Q",
|
||||
"?",
|
||||
] {
|
||||
assert!(help.contains(needle), "help overlay missing {needle:?}");
|
||||
}
|
||||
|
|
@ -156,3 +157,8 @@ fn pane_focus_cycles_roster_chat_composer() {
|
|||
assert_eq!(Pane::Chat.prev(), Pane::Roster);
|
||||
assert_eq!(Pane::Composer.prev(), Pane::Chat);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn restore_terminal_is_callable_without_panic() {
|
||||
onionwire::tui::restore_terminal();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue