-
Notifications
You must be signed in to change notification settings - Fork 10
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
Static Key #8
Comments
yes this will be easy to add and why there is a generate_key step. I planned on having a set_key function as well. I haven't had the need for it yet though which is why it doesn't exist. |
Yeah the use case I am thinking is for a server to communicate to a core ln node. The idea I am playing with would be a simple API that can be deployed to run in front of your node at home. So it would be great to have a rune with full permissions, but limit it to the public key of the lnsocket. |
On Mon, Jul 11, 2022 at 03:52:09PM -0700, Aaron Barnard wrote:
Yeah the use case I am thinking is for a server to communicate to a core ln node. The idea I am playing with would be a simple API that can be deployed to run in front of your node at home. So it would be great to have a rune with full permissions, but limit it to the public key of the lnsocket.
kk I'll add this soon
|
Legend thank you! |
there is now an |
js example here: Lines 15 to 20 in dead45a
|
hmm it might be good to have a method that gets the pubkey... |
Awesome will give this a go. |
Yeah a method that gets the pubkey would be super handy. Saves having to load |
Or even a method to get the keypair after generating the key. That way you can use set key in a later session with the private key |
yup it's definitely needed... will add in a bit |
Is it possible to have a static public key so that the remote node can limit the rune to that key? Or does a new key need to be created every time it is initialised with the
gen_key
method?The text was updated successfully, but these errors were encountered: