Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Piping npm token create causes password to be displayed #19177

Open
Qix- opened this issue Nov 16, 2017 · 0 comments
Open

Piping npm token create causes password to be displayed #19177

Qix- opened this issue Nov 16, 2017 · 0 comments

Comments

@Qix-
Copy link

Qix- commented Nov 16, 2017

The 'secure' prompt used by the npm token create command happily displays the password of the user if the command is being piped to something.

$ npm token create --read-only
npm password:

$ npm token create --read-only | cat
npm password: rustydingo15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant