PowerShell / SecretStore

MIT License
156 stars 23 forks source link

No warning/error when an empty password is used #36

Closed rjmholt closed 3 years ago

rjmholt commented 3 years ago

I accidentally entered through the creation of a password for the secret store that I hit when running Get-Secret:

> Get-Secret -AsPlainText -Name testsecret
Creating a new SecretStore vault. A password is required by the current store configuration.
Enter password:

Enter password again for verification:

At that point I'd entered an empty password, but the module didn't complain or anything.

Given that no password is a separate configuration, I'd expect to be prevented from doing this.

issue-label-bot[bot] commented 3 years ago

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.61. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

SydneyhSmith commented 3 years ago

Closing as a duplicate of #31