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

[QUESTION] Any workarounds for npm, Github & SSH pin auth?
https://forum.yubico.com/viewtopic.php?f=26&t=2011
Page 1 of 1

Author:  wafflemaker [ Mon Aug 24, 2015 4:18 pm ]
Post subject:  [QUESTION] Any workarounds for npm, Github & SSH pin auth?

I've searched far and wide and I'm not able to find a resolution to the problem I'm running in to. I'm using Ubuntu with the opensc package and my ssh_config pointed to my Yubikey. This works great with GitHub and my own server and I'm prompted for a pin each time I do a git pull or SSH into my server. Wonderful!

However, when I'm using npm (NodeJS package manager, for those who may not be familiar) if my package.json file requires a package from GitHub, I'm prompted for my pin but NPM keeps moving on and entering my pin never unlocks my key in time, failing the entire process.

I know this sounds like a shortcoming of NPM, but I'm hoping that someone here can shed some light on any workarounds that might exist or, as a last resort, remove the pin from my Yubikey. If I can't resolve this, I'll have to go back to an SSH key on my machine and use my Neo for OTP. I'll also check with the NPM team, because this really seems like something they should take into consideration.

Author:  Tom2 [ Tue Aug 25, 2015 8:51 am ]
Post subject:  Re: [QUESTION] Any workarounds for npm, Github & SSH pin aut

disbale forcesig on the Yubikey. Unlock it once and don't have to enter the pin again...

Not really a neat solution, but maybe helps?

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