Package: pass
Version: 1.6.5-7
Severity: normal

The documentation says the 'pass insert' command should take a new password
from stdin. Instead it fails silently with a exit status of 1.

I can add passwords if I use the command interactively.

EG. starting from a new/empty store.

$ pass
Password Store
$ pass insert test
Enter password for test:
Retype password for test:
$ pass
Password Store
└── test
$ echo foo | pass insert another

$ echo $?
1
$ pass
Password Store
└── test

It should have created the password entry 'another'.

-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages pass depends on:
ii  gnupg   2.1.18-6
ii  gnupg2  2.1.18-6
ii  pwgen   2.07-1.1+b1
ii  tree    1.7.0-5

Versions of packages pass recommends:
ii  git     1:2.11.0-3
ii  gnupg2  2.1.18-6
ii  xclip   0.12+svn84-4+b1

Versions of packages pass suggests:
ii  libxml-simple-perl  2.22-1
ii  perl                5.24.1-3+deb9u1
ii  ruby                1:2.3.3

-- no debconf information

Reply via email to