-
Notifications
You must be signed in to change notification settings - Fork 43
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
client: implemented messaging signing. #171
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
e31e58d
to
49a6e93
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe you need to update permissions.json
to make the test pass.
Other than that LGTM 🎉
Not entirely sure what update is needed to "/lnrpc.Lightning/Signmessage": {
"permissions": [
{
"entity": "onchain",
"action": "read"
}
]
}, ? |
Yes, that should be enough. |
Actually, on further inspection, a similar block is already present in permissions.json. "/lnrpc.Lightning/SignMessage": {
"permissions": [
{
"entity": "message",
"action": "write"
}
]
}, on line 563 |
Ah, I think you need to bump Line 15 in lndclient/macaroon_recipes_test.go Line 15 in 2005b0d
Since a new permission is now being used by the lndclient .
|
added support for the main RPC implementation of message signing.
1e5f10a
to
51ff079
Compare
added support for the main RPC implementation of message signing.