Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow '=' base64 padding for beaconcha.in api key #12

Merged
merged 1 commit into from
Jun 29, 2024

Conversation

benv666
Copy link
Contributor

@benv666 benv666 commented Jun 28, 2024

My beaconcha.in API key has = padding as last character, which is currently refused by Nodeset's hyperdrive tool that uses this code (https://github.com/nodeset-org/hyperdrive/blob/main/hyperdrive-cli/client/global-config.go#L10 ).
This PR allows = in the Regex, which is perhaps more liberal than it should be (only at the end), but it's the most readable code variant while still enforcing the 28 character length.

@jclapis
Copy link
Member

jclapis commented Jun 29, 2024

Thanks for the find and fix Ben!

@jclapis jclapis merged commit 6075534 into rocket-pool:main Jun 29, 2024
3 checks passed
@benv666 benv666 deleted the patch-1 branch June 29, 2024 21:36
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.

2 participants