Salt the tracker swarm with the clock or an own salt

The code used to be derived with a fixed salt, so a tracker could compute a
table from swarm to code ahead of time, once for every share. Now the salt
is the UTC 6 minute window the share was made in, and the code's new 11th
character names that window, so the receiver finds it even with a clock
hours off. Use own salt adds a salt both sides agree on, which nobody can
guess ahead for; Generate makes a random one. The salt is locked while a
tracker share or search runs, and a receiver that finds no sender is told
to check the salt too.

Settings are no longer kept in localStorage: a remembered list or salt that
differs from the other side's would silently break shares. The core now
reports when a share expires and until when it lasts, and the session owns
a tracker's timers, so a socket still closing after an abort announces
nothing more. Header options line up with the cards, disabled switches look
disabled, and sizes, percents and times don't wrap. postcss 8.5.32.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
SchluffeandClaude Opus 5.5 committed 2026-10-28 01:14:27 +01:00
1 parent e3a2b348d6
commit 2e47b55901
7 files changed
+462 -142

No files matched your search

+5 -5
View File
@@ -571,8 +571,8 @@ packages:
engines: {node: '>=20'}
hasBin: true
postcss@8.5.31:
resolution: {integrity: sha512-YUbWYCgErwnMAVkjUnYa+KlMBzGpHwiIt/DE7f0G33AuX2LH9UcTk6KgWxd3zRU+pN3u/C+Xl3EnMLM4Hea7Sg==}
postcss@8.5.32:
resolution: {integrity: sha512-LJlKCCAUFKOuZxipUdYw1NzIITEsPcgyOG9LkvRJvuKj/bRzbuRY0ARXvL0pWGpsZvn8jku+LMep2eU0seHp8g==}
engines: {node: ^10 || ^12 || >=14}
rolldown@1.2.15:
@@ -819,7 +819,7 @@ snapshots:
'@vue/shared': 3.5.44
estree-walker: 2.0.2
magic-string: 0.30.21
postcss: 8.5.31
postcss: 8.5.32
source-map-js: 1.2.2
'@vue/compiler-ssr@3.5.44':
@@ -947,7 +947,7 @@ snapshots:
dependencies:
playwright-core: 1.64.1
postcss@8.5.31:
postcss@8.5.32:
dependencies:
nanoid: 3.3.20
picocolors: 1.1.1
@@ -989,7 +989,7 @@ snapshots:
dependencies:
lightningcss: 1.33.0
picomatch: 4.0.7
postcss: 8.5.31
postcss: 8.5.32
rolldown: 1.2.15
tinyglobby: 0.2.17
optionalDependencies: