Skip to content

Conversation

@oleksandr-nc
Copy link
Contributor

Fixes #52

The check uses tr -d '\040-\176' to remove all printable ASCII characters (octal 040-176 = decimal 32-126 = space to tilde). If anything remains, the key contains non-ASCII or control characters.

Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
Copy link
Contributor

@kyteinsky kyteinsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@oleksandr-nc oleksandr-nc merged commit 54e4d58 into main Jan 7, 2026
3 checks passed
@oleksandr-nc oleksandr-nc deleted the fix/sharedkey-non-asc2 branch January 7, 2026 07:00
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.

HaRP is unable to handle API-Keys with non-ASCII characters

3 participants