3 ms·
Cross Platform simple and secure password management from commandline
- moocowtruck 7y agois there any way to password protect passwords when using the cli? not sure how i feel about stuff like that ending up in bash history
- lucasepe 7y agothe password is read from console without echoing and is not saved in history. Here the specific code: https://github.com/lucasepe/pwsafe/blob/cf86ca21f88ff86dc18126936db76c3ed094e38c/cmd/internal/utils.go#L34 https://github.com/lucasepe/pwsafe/blob/cf86ca21f88ff86dc181... and here a great description about the ReadPassword function https://www.mycodesmells.com/post/reading-password-input-in-go https://www.mycodesmells.com/post/reading-password-input-in-.... Give it a shot...download the binary for your OS and play with it. thanks, luca
- moocowtruck 7y agohey thanks for the reply and the info~! i'll check it out