Validate workername length and characters #606

Merged
paratoxic merged 1 commit from username-validation into master 2026-08-21 23:46:25 +00:00
Owner
No description provided.
Validate workername length and characters
Some checks failed
CI / ckpool (pull_request) Successful in 44s
CI / lint (pull_request) Successful in 4m7s
CI / test-linux (pull_request) Failing after 12m53s
84fe09acbf
Reject workernames longer than 127 characters (matching ckpool's
username buffer bound) or containing control characters at parse time.
Previously a miner could embed ANSI escape sequences or newlines in the
workername, which were interpolated into stratifier log lines on share
rejection and session retirement.
parabit approved these changes 2026-08-21 23:42:34 +00:00
parabit left a comment

LGTM, but differs from db workername limitation, probably fine.

LGTM, but differs from db workername limitation, probably fine.
paratoxic merged commit c1b7c4904b into master 2026-08-21 23:46:25 +00:00
paratoxic deleted branch username-validation 2026-08-21 23:46:26 +00:00
Sign in to join this conversation.
No description provided.