nodester user setkey fails:

31 views
Skip to first unread message

Lim Jiew Meng

unread,
Aug 31, 2012, 11:51:43 PM8/31/12
to node...@googlegroups.com
I am getting

$ nodester user setkey 
/usr/lib/node_modules/nodester-cli/lib/config.js:71
    auth += c.final("utf8");
              ^
TypeError: DecipherFinal fail
    at decryptAuth (/usr/lib/node_modules/nodester-cli/lib/config.js:71:15)
    at Object.exports.parse (/usr/lib/node_modules/nodester-cli/lib/config.js:165:13)
    at Object.<anonymous> (/usr/lib/node_modules/nodester-cli/lib/commands.js:58:21)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:362:17)
    at require (module.js:378:17)
    at Object.<anonymous> (/usr/lib/node_modules/nodester-cli/bin/nodester.js:11:11)

Whats wrong, am I right to say I use nodester user setkey to copy my ssh key to nodester? 

KLiDE

unread,
Oct 10, 2012, 3:34:34 AM10/10/12
to node...@googlegroups.com
I have the same problem! Help us!

Subho Banerjee

unread,
Oct 12, 2012, 4:35:53 PM10/12/12
to node...@googlegroups.com
I am having the same problem... Did you guys figure out what was going wrong??

Sergio García Mondaray

unread,
Oct 30, 2012, 6:40:28 AM10/30/12
to node...@googlegroups.com
A temporal fix is to open the following file with an editor:
/usr/local/lib/node_modules/nodester-cli/lib/config.js
Now comment line 71 (which says: auth += c.final("utf8");).
Then run:
nodester user setup <username> <password> 
And now uncomment the line and run
nodester user setkey
Reply all
Reply to author
Forward
0 new messages