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

No tutorial example demonstrating client api using hmac #25

Open
omac777 opened this issue Feb 22, 2016 · 1 comment
Open

No tutorial example demonstrating client api using hmac #25

omac777 opened this issue Feb 22, 2016 · 1 comment

Comments

@omac777
Copy link

omac777 commented Feb 22, 2016

I saw how to start the first node and join nodes using an hmac.
I saw how to use the cli to create/run mkproc using an hmac on the command line.
On Windows, using mkproc is not evident due to multi-line nature of description of process to run.
As the only resort, we need to create an app that uses the go-circuit client api. That said the client api itself does not seem to expose the hmac capability. That capability seems to be exposed in a lower-level code-gangsta api. My question is do you expect others to use the code-gangsta directly or should the go-circuit api not expose the hmac capability and avoid using the codegangsta stuff directly?

@maymounkov
Copy link

Sorry for the belated response.
The parameter authKey in the client API is the HMAC key:
https://github.com/gocircuit/circuit/blob/master/client/client.go#L56

On 22 February 2016 at 11:12, David Marceau notifications@github.com
wrote:

I saw how to start the first node and join nodes using an hmac.
I saw how to use the cli to create/run mkproc using an hmac on the command
line.
On Windows, using mkproc is not evident due to multi-line nature of
description of process to run.
As the only resort, we need to create an app that uses the go-circuit
client api. That said the client api itself does not seem to expose the
hmac capability. That capability seems to be exposed in a lower-level
code-gangsta api. My question is do you expect others to use the
code-gangsta directly or should the go-circuit api not expose the hmac
capability and avoid using the codegangsta stuff directly?


Reply to this email directly or view it on GitHub
#25.

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

No branches or pull requests

2 participants