Skip to content

✨ Support non-legacy keys via base64 encoding#40

Merged
aisk merged 1 commit into
masterfrom
feat/base64-binary-keys
Jun 16, 2026
Merged

✨ Support non-legacy keys via base64 encoding#40
aisk merged 1 commit into
masterfrom
feat/base64-binary-keys

Conversation

@aisk

@aisk aisk commented Jun 16, 2026

Copy link
Copy Markdown
Owner

Keys with whitespace, control chars or non-ASCII bytes broke the wire frame and crashed the hash-ring router.

Now such keys are base64-encoded with the meta b flag at serialization time, while MetaCommand.key keeps the original key for routing. Keys over 250 bytes are rejected; routing decodes with latin-1 so binary keys never raise.

@aisk aisk force-pushed the feat/base64-binary-keys branch from 091ed83 to cdb35e7 Compare June 16, 2026 15:52
@aisk aisk merged commit 9bdc64b into master Jun 16, 2026
7 checks passed
@aisk aisk deleted the feat/base64-binary-keys branch June 16, 2026 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant