Commit e93b88a
docs(security): document E2E gate None-arm and get_nsec key-scope caveat
Two comment-only fixes from Thufir's security review of PR #1185:
- ingest.rs: add explicit comment on the channel_id == None arm of the
E2E latch gate explaining why the silent skip is safe (channel-less
events cannot be latched; rejected downstream at insert).
- lib.rs: add comment near get_nsec registration scoping the 'private
key never leaves Rust' property to the nip44_encrypt/decrypt commands
and noting get_nsec as a tracked follow-on hardening item.
- check-file-sizes.mjs: bump lib.rs ceiling (1034 → 1044, +8 comment
lines) and tauri.ts ceiling (1218 → 1231, main grew since rebase).
Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>1 parent 3992732 commit e93b88a
3 files changed
Lines changed: 17 additions & 4 deletions
File tree
- crates/buzz-relay/src/handlers
- desktop
- scripts
- src-tauri/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1536 | 1536 | | |
1537 | 1537 | | |
1538 | 1538 | | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
1539 | 1543 | | |
1540 | 1544 | | |
1541 | 1545 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
748 | 748 | | |
749 | 749 | | |
750 | 750 | | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
751 | 759 | | |
752 | 760 | | |
753 | 761 | | |
| |||
0 commit comments