-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
correct error message #12
Conversation
though node makes the same mistake |
What about iojs? |
It was iojs I was testing against |
@calvinmetcalf can you make a PR upstream? |
maybe depends if it's an issue in node/iojs (in which case yes) or one in On Mon, Apr 13, 2015 at 8:55 PM Daniel Cousens notifications@github.com
|
Maybe they were the same, because in the end, both error messages would technically be correct? |
it is a technically correct error message because it is an issue with the public key cryptosystem type, but since it uses the phrase public key by it's self when you are actually give it an incorrect private key means it implies the issues is with the public key file. Confused me to no end while I was debugging and issue that ended up being caused by passing an rsa key to something that wanted an EC one. |
Maybe before we publish this, you should establish if this is actually On Tue, Apr 14, 2015 at 11:49 PM, Calvin Metcalf notifications@github.com
|
this is not consistent with iojs when I said node in the second comment I meant iojs (which I was testing against) |
@dominictarr thoughts? |
If we have to choose we should be consistent with iojs. If there is a problem with iojs I am confidant we can fix it... and eventually that might get into joyent/node |
so the issue stems from here so more or an openssl thing then a node thing |
we we're throwing an error about public keys when we needed a private key