fix(ui): generate the sabia ui token from the OS CSPRNG
CI / Format and clippy (pull_request) Successful in 30s
CI / Tests (Linux) (pull_request) Successful in 29s
CI / Dependency audit (pull_request) Successful in 17s
CI / Check desktop app (Linux) (pull_request) Successful in 1m13s

The token was the startup time in nanoseconds, guessable by another local
user or process within a small window, which would hand over the API
(captures, deauth, Evil Twin). It is now 32 random bytes from getrandom,
checked in constant time. Release 1.0.6.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas RayanandClaude Opus 5.5 committed 2026-11-03 11:16:27 -03:00
1 parent 0ff945ef65
commit bcc4178e89
9 files changed
+61 -16

No files matched your search

+2 -2
View File
@@ -2538,7 +2538,7 @@ checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
[[package]]
name = "sabia-core"
version = "1.0.5"
version = "1.0.6"
dependencies = [
"aes",
"flate2",
@@ -2555,7 +2555,7 @@ dependencies = [
[[package]]
name = "sabia-gui"
version = "1.0.5"
version = "1.0.6"
dependencies = [
"libc",
"sabia-core",