# results.txt - generated 2026-10-08T10:39:21+02:00 on Linux 6.17.0-41-generic; repo cde75b1ea4ce75fe7e9498bce6a8302d570f6ab1 ## author's unit tests (scripts/test-core.sh, release build) 100% tests passed out of 1 110/110 tests passed ## author's unit tests rebuilt with -fsanitize=address,undefined 110/110 tests passed ## p01_alias_spoof victim persona display (what readers see): fr:HJ9W-Q1VS forged post #1: verify=ok authorDisplay="fr:HJ9W-Q1VS" identical_to_victim=YES forged post #2: verify=ok authorDisplay="night owl · fr:HJ9W-Q1VS" identical_to_real_alias_post=YES alias length bytes=25 (limit 32) RESULT: REPRODUCED (spoofed display accepted by verify) (exit 0) ## p02_flood_backdate same hour, one key: accepted=10 rejected=5 (limit 10) backdated across 47 hours, SAME key: accepted=470 rejected=0 stored=480 of which inside the 48h digest window=480 (honest limit would be 10 per hour) RESULT: REPRODUCED (one key, ~470 topics accepted in a 48h window) (exit 0) ## p03_newkey_budget attacker cost per fresh-key post (new key + 16-bit PoW + sign): 34.33 ms => 29 posts/s per core receiver verify cost per post: 0.083 ms (valid=300/300) attacker 100 fresh-key posts/min for 30 min: honest new-key posts stored 2/30; attacker stored 1917 baseline without attacker: 30/30 RESULT: REPRODUCED (new-key budget can be monopolised cheaply) (exit 0) ## p04_restore_reuse device 1: current persona index=2, next=3 restored (empty log): current index=0, next=1 anonymous key of the restored device == anonymous key device 1 already published: YES (linkable) restored device posts as persona 0 again although device 1 had rotated away: YES restored with the posts present: current=2 next=3 (anon reuse avoided: yes) recoverNextIndex with persona 0 and persona 70 known -> next=1 (70 is missed: gap limit 50) RESULT: REPRODUCED (exit 0) ## p09_text_limits title of 100 Cyrillic letters (200 bytes): ok title of 101 Cyrillic letters (202 bytes): post is too large (limit says 200 'characters') title of 67 CJK characters (201 bytes): post is too large body of 3334 CJK characters (10002 bytes): post is too large (limit says 10,000 'characters') domains 'политика, 日本' normalise to 0 domain(s) (backend then silently substitutes #general: forumer_backend.cpp:1203) 'Privacy!, café, c++' -> #privacy #caf (exit 0) ## p05_wire_fuzz (ASan+UBSan build) (a1) 200000 mutated messages: decoded as post=7689, of which verify()==ok and bytes differ=25 (benign: unused/ignored bytes) (a2) type-confusion cases: uncaught exceptions=0 (a3) 12000-deep nested array in 24 KiB payload: decoded=no error=not a Forumer message (no crash) (b) digest with oldest=1 (1970-01-01T00:00:00.001Z): decoded=yes oldestMs=1 history walk from now-48h back to ms=1 with nothing held: 2960 weekly windows x >=13 s each (12 s round wait + 1 s step) = 10.7 hours of range requests per client (c) range since=INT64_MIN until=INT64_MAX accepted by decode; `until - since` computes (two's complement) as -1, i.e. NOT > kRangeMaxSpanMs, so the 2-week cap is skipped (signed overflow is UB) (d) forged envelope with id=da39dae0...: decode ok=yes, carries the real post's id=YES, verify()=rejected handlePost() stores m_lastSeenOnWire[id]=now BEFORE checkPost(); resend() then treats the real post as 'someone just sent it' for 30 s. RESULT: no crashes/UB: yes; oldest=1 accepted: yes; forged-id decode path: yes (exit 0) ## p06_disk_linkage (real data dir of the GUI run, home-b) file modes: 0o644 posts/posts.sqlite3 0o775 accounts 0o664 peer_id 0o664 accounts/01c4f1b62b1bbd2d/state.json 0o600 accounts/01c4f1b62b1bbd2d/vault.json 0o664 accounts/2d8a801a8cb870f0/state.json 0o600 accounts/2d8a801a8cb870f0/vault.json account state.json (plaintext): 01c4f1b62b1bbd2d label='bob' current=0 next=1 2d8a801a8cb870f0 label='alice' current=2 next=3 outbox JOIN posts (post -> account -> persona key -> disclosure), plaintext in posts.sqlite3: account=2d8a801a8cb870f0 ('alice') post=d7a34a61 persona_pk=C0020A98C5A3... disc=persona title='render test local only' account=2d8a801a8cb870f0 ('alice') post=b7b9fa78 persona_pk=C0020A98C5A3... disc=persona title='T1 backslash img' account=2d8a801a8cb870f0 ('alice') post=4f54b426 persona_pk=C0020A98C5A3... disc=persona title='T2 img with size' account=2d8a801a8cb870f0 ('alice') post=a480be2d persona_pk=C0020A98C5A3... disc=persona title='T3 font tag' account=2d8a801a8cb870f0 ('alice') post=39fa0bfb persona_pk=0886E216B865... disc=anonymous title='ALICE anonymous topic' account=2d8a801a8cb870f0 ('alice') post=cba179db persona_pk=54422BB6A571... disc=persona title='after rotation' account=2d8a801a8cb870f0 ('alice') post=e2e2e5b8 persona_pk=54422BB6A571... disc=persona title='ééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééé' anonymous posts linked on disk to an account id: 1 persona keys of account 2d8a801a8cb870f0 that are linkable to each other on disk: 3 RESULT: REPRODUCED (README s4: 'No file on disk holds anything that links personas to each other, except the encrypted vault') ## p04b_restore_gui_compare (GUI evidence: device 1 vs restored device) device 1 (original): persona pk=wAIKmMWjqCYswZ11 'render test local only' persona pk=wAIKmMWjqCYswZ11 'T1 backslash img' persona pk=wAIKmMWjqCYswZ11 'T2 img with size' persona pk=wAIKmMWjqCYswZ11 'T3 font tag' anonymous pk=CIbiFrhllDI4w7UX 'ALICE anonymous topic' persona pk=VEIrtqVxvKNmlvzU 'after rotation' persona pk=VEIrtqVxvKNmlvzU 'ééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééé' restored device (same recovery phrase, empty post log): anonymous pk=CIbiFrhllDI4w7UX 'restored device anonymous' persona pk=wAIKmMWjqCYswZ11 'restored device persona' anonymous persona key reused across devices: True restored device signs 'persona' posts with the key device 1 had ALREADY rotated away from: True