-
Notifications
You must be signed in to change notification settings - Fork 64
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
Mtls auth rpc #59
Mtls auth rpc #59
Conversation
76d58b6
to
b9ae451
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.
Looks great. Comments are mainly nits and idiomatic stuff.
Two comments on top of the inline ones:
- Is anyhow really necessary? I think the dependency kind off comes from CLN using it for their stuff, but given how few errors need to be handled and that we are not using it for the CLI it may be worth reworking this without it.
- The README.md will need to be updated to take the keys/certs into account. i.e. specify that after running the tower, if the CLI is run remotely, then the corresponding keys need to be placed on the remote machine in the corresponding folder and so on.
c12dfd4
to
6146fa8
Compare
@sr-gi Thanks for the review :D Made those changes |
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.
Nice work! Here are some additional small changes.
6146fa8
to
388aaff
Compare
@sr-gi Radtastic, fixed those things up. |
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.
LGTM
ACK 388aaff
Didn't check the linter before approving, some additional changes are required
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.
There are a couple linter related issues that need to be fixed:
cli.rs
andtls.rs
need formatting.- See inline for
main.rs
bab8254
to
d04f3a7
Compare
@sr-gi ah fixed! |
ACK d04f3a7 |
@orbitalturtle in order to merge this, all commits need to be signed. Can you fix that and rebase? |
Signed-off-by: Orbital <[email protected]>
Signed-off-by: Orbital <[email protected]>
Signed-off-by: Orbital <[email protected]>
d04f3a7
to
2128de8
Compare
Sure thing :) The commits are now signed. @sr-gi |
ACK 2128de8 |
Requires mtls to connect to the server's private api. Updates the cli to use mtls as well. Closes #25