Package: pwgen
Version: 2.07-1
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I used "pwgen 8 1" to generate a single password. Copy-pasting this password
with triple click in xterm included the invisible space character before the
newline.

   * What was the outcome of this action?

When pasting the output into the passwd command, a space was appended to the
password, which was unexpected. Thus logging in with the visible parts only
was not possible.

   * What outcome did you expect instead?

For the special case of generating only one password, pwgen should not
append a space character to the password. This way triple clicking and
copy-pasting will work as expected. 

A bit more information: pwgen seems to append a space to the last password
generated, which seems to be unnecessary. Fixing this will fix the one
password case too.

*** End of the template - remove these template lines ***


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

Kernel: Linux 3.16.7-ck2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages pwgen depends on:
ii  libc6  2.19-19

pwgen recommends no packages.

pwgen suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to