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

feat(signer): Add Dirk support #206

Open
wants to merge 111 commits into
base: main
Choose a base branch
from
Open

feat(signer): Add Dirk support #206

wants to merge 111 commits into from

Conversation

ManuelBilbao
Copy link
Collaborator

@ManuelBilbao ManuelBilbao commented Dec 10, 2024

Add support for Dirk remote signer by mapping requests received by the signer module to a Dirk gateway.
A new signer option (Dirk) was added to the Local and Remote ones. When this config is used, the signer module starts acting as an interface between Dirk and the client, in order to keep the API.
As Dirk doesn't support ECDSA signatures, requests involving that schema return a HTTP 400 (Bad request) error. Also because of this, the DA_COMMIT example module was slightly modified to be able to avoid ECDSA operations using the TOML config.

It's worth to note that Dirk has a small bug where signing passing the public key instead of an account name is impossible. In order to test this (and later use it) changes on PR#75 on Dirk repo should be applied.

Close #17

@ManuelBilbao ManuelBilbao marked this pull request as ready for review January 6, 2025 21:42
@ManuelBilbao ManuelBilbao marked this pull request as ready for review March 5, 2025 21:26
@ManuelBilbao ManuelBilbao requested a review from ltitanb March 5, 2025 22:02
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.

Support multiple signers loaders
3 participants