[PATCH] show, insert: handle password with empty name

Tobias Girstmair t-passwd at girst.at
Fri Jul 12 16:56:54 CEST 2019


On Fri, Jul 12, 2019 at 04:45:17PM +0200, Rémi Lapeyre wrote:
>This changes both `pass insert` to require the --force flag when writing
>such a password and fix `pass show` to list the passwords (note that

why would you want to ever insert an unnamed entry? if anything, this
should be an error.

>-	if [[ -f $passfile ]]; then
>+	if [[ -f $passfile && ! -z "$path" ]]; then

I'd only introduce this change and nothing else.


		lg


More information about the Password-Store mailing list