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

Add Charon Support for Beacon Node Authentication #3388

Open
5 tasks
OisinKyne opened this issue Nov 22, 2024 · 1 comment
Open
5 tasks

Add Charon Support for Beacon Node Authentication #3388

OisinKyne opened this issue Nov 22, 2024 · 1 comment
Labels
feature protocol Protocol Team tickets
Milestone

Comments

@OisinKyne
Copy link
Contributor

OisinKyne commented Nov 22, 2024

Description:
During testing with the GCP Blockchain Node Engine, we have identified a requirement to add authentication for accessing beacon nodes.
This enhancement will enable Charon to support authentication when interacting with authenticated beacon nodes.

Acceptance Criteria:

  • Implement support for authenticating beacon nodes in Charon

  • HTTP Header: Add support for passing an API key in an HTTP header. Supplied to charon via csv or similar formatted flag like: --beacon-node-headers=X-goog-api-key=xxxx

Testing:

  • Verify authentication using the URI parameter method
  • Verify authentication using the HTTP header method

Notes:

  • Please document any configuration changes required for users to enable these authentication method
@OisinKyne OisinKyne added feature protocol Protocol Team tickets labels Nov 22, 2024
@OisinKyne
Copy link
Contributor Author

A related issue was raised by the chain up team.

Hi obol team

I found that one of charon's dependency libraries, go-eth2-client, had a code commit on 2024.07.25, as shown below

When setting beaconAddr, the path path of the beacon node is replaced. In many cases, we will use an external beacon node with a token. This code makes the configured beacon node inaccessible and affects the experience.


https://github.com/attestantio/go-eth2-client/issues/173

@OisinKyne OisinKyne added this to the v1.3.0 milestone Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature protocol Protocol Team tickets
Projects
None yet
Development

No branches or pull requests

1 participant