I am using npm with angular for installing the packages over the network and currently I've configured the corporate proxy userid and password and it works fine in my corporate LAN. No issues there. I'm worried that the password is clear text and is visible to anyone who can open the ".npmrc" file or execute a "npm config ls -l". Is there a way to keep the encrypted password like the way maven does in the "settings.xml" file.
Asked
Active
Viewed 525 times
0
-
you don't encrypt password, you [hash](https://crackstation.net/hashing-security.htm) them with a one way function – Aleksey Solovey Dec 07 '17 at 11:25
-
this is not a duplicate. Why was this marked as duplicate? I've also edited the query. Can you unmark it, if it suits? – spatik Jan 05 '18 at 11:10
-
the question now has a slightly different meaning, try to ask a new question instead of editing this one – Aleksey Solovey Jan 05 '18 at 11:13