Skip to content

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

@rjmholt

Description

@rjmholt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions