Yubico Forum
https://forum.yubico.com/

HPE_INVALID_CONSTANT
https://forum.yubico.com/viewtopic.php?f=4&t=1766
Page 1 of 1

Author:  julienrott [ Mon Mar 02, 2015 2:44 pm ]
Post subject:  HPE_INVALID_CONSTANT

Hi,

I'm trying to implement the yubikey verification to a Meteor application.
I'm using the provided node library. When I call the verify method I get a waring " http.createClient is deprecated. Use `http.request` instead." and an error : [Error: Parse Error] bytesParsed: 0, code: 'HPE_INVALID_CONSTANT'

What can I do to make this work ?
The provided node modul by Kami is 2 years old... is it still updated ?

Regards

Author:  henrik [ Tue Mar 03, 2015 11:11 am ]
Post subject:  Re: HPE_INVALID_CONSTANT

Hi!

I think that you should create an issue from the project's GitHub page.

Author:  julienrott [ Tue Mar 03, 2015 4:39 pm ]
Post subject:  Re: HPE_INVALID_CONSTANT

Thanks for the answer.
I created an issue on the project's github.
For the moment I switched to an unofficial package : yub : https://www.npmjs.com/package/yub

Author:  henrik [ Wed Mar 04, 2015 10:46 am ]
Post subject:  Re: HPE_INVALID_CONSTANT

julienrott wrote:
For the moment I switched to an unofficial package : yub : https://www.npmjs.com/package/yub

Good :)

None of the Node.js packages are "official", if official means "created by Yubico". One of them just happened to be listed on developers.yubico.com and not the other. I've now added the other package as well (after a quick quality review).

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/