fix(ui): generate the sabia ui token from the OS CSPRNG
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:
1 parent
0ff945ef65
commit
bcc4178e89
9 files changed
+61
-16
No files matched your search
Generated
+3
-2
@@ -440,10 +440,11 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "sabia-cli"
|
||||
version = "1.0.5"
|
||||
version = "1.0.6"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"ctrlc",
|
||||
"getrandom",
|
||||
"sabia-core",
|
||||
"serde",
|
||||
"serde_json",
|
||||
@@ -451,7 +452,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "sabia-core"
|
||||
version = "1.0.5"
|
||||
version = "1.0.6"
|
||||
dependencies = [
|
||||
"aes",
|
||||
"flate2",
|
||||
|
||||
Reference in new issue
Block a user