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

Cannot get Ironhouse ZGuideExample to work #185

Open
rlt3 opened this issue Oct 20, 2019 · 0 comments
Open

Cannot get Ironhouse ZGuideExample to work #185

rlt3 opened this issue Oct 20, 2019 · 0 comments

Comments

@rlt3
Copy link

rlt3 commented Oct 20, 2019

On Ubuntu I cloned this repository and compiled using mono with msbuild clrzmq4.mono.sln /p:Configuration=Release and then ran the Ironhouse client and server like mono bin/Release/ZGuideExamples.exe IronhouseServer and mono bin/Release/ZGuideExamples.exe IronhouseClient.

The output of the server is simply:

I: Sunday, October 20, 2019 ZAuth: zauth: API command=ALLOW
I: Sunday, October 20, 2019 ZAuth: zauth: - whitelisting ipaddress=127.0.0.1
I: Sunday, October 20, 2019 ZAuth: zauth: API command=CURVE
CURVE I: cannot open client HELLO -- wrong server key?
CURVE I: cannot open client HELLO -- wrong server key?

With the 'wrong server key?' repeating indefinitely. I then modified both the server and client to simply output the server cert's public and secret txt just to make sure the client and server were using the same values.

The code I introduced:

Console.WriteLine("Server Public = {0}", serverCert.PublicTxt);
Console.WriteLine("Server Secret = {0}", serverCert.SecretTxt);

What I got as output when running the server only:

Server Public = 0000000000<Rv$0000000rr910000:0000000000
Server Secret = 0000000000<Rv$0000000rr910000:0000000000
I: Sunday, October 20, 2019 ZAuth: zauth: API command=ALLOW
I: Sunday, October 20, 2019 ZAuth: zauth: - whitelisting ipaddress=127.0.0.1
I: Sunday, October 20, 2019 ZAuth: zauth: API command=CURVE

The public and secret keys are the same which is probably incorrect. The same keys are output for the client as well. Removing the ".curve" directory doesn't seem to force a regeneration of the keys and the same values get ouput.

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

1 participant