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

[ERROR] Invalid provider key #157

Closed
theodotos opened this issue Aug 5, 2018 · 3 comments
Closed

[ERROR] Invalid provider key #157

theodotos opened this issue Aug 5, 2018 · 3 comments

Comments

@theodotos
Copy link

theodotos commented Aug 5, 2018

Hello,

I get "Invalid provider key" when I run dnscrypt-proxy for testing the cert.

I generate the cert:

# ./dnscrypt-wrapper --gen-provider-keypair --provider-name=2.dnscrypt-cert.example.com --ext-address=1.1.1.1

Run the test:

# dnscrypt-proxy --local-address=127.0.0.1:55 --resolver-address=127.0.0.1:443 --provider-name=2.dnscrypt-cert.example.com --provider-key=public.key

Sun Aug  5 13:32:01 2018 [ERROR] Invalid provider key

Am I doing something wrong?

I followed the guide in README.md:

https://github.com/cofyc/dnscrypt-wrapper/blob/master/README.md

@jedisct1
Copy link
Contributor

jedisct1 commented Aug 6, 2018

--provider-key=public.key

If my memory serves me correctly, you had to put the actual key here (a hex string), not a file.

But you really should use dnscrypt-proxy 2.x. now.

@theodotos
Copy link
Author

What a fool! Sorry for the false alarm. And thanks for the advice. It seems that 2.0 is packaged for Debian sid. I'll give that a go.

@theodotos
Copy link
Author

@jedisct1 Can I ask another clarification? I've noticed that dnscrypt-proxy 2.x can also be used as a dnscrypt server. When you suggested to switch to dnscrypt-proxy 2.x. did you mean only the client (dnscrypt-proxy 1.9) or the server too (dnscrypt-wrapper)?

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