Bug#441874: pwsafe: Defaults to clipboard, when $DISPLAY is not set
Hi Kristof, pwsafe has been removed from Debian. It has a number of problems (this being one of the least, honestly) and nobody stepped up to take it on when I couldn't do it. If you'd like to maintain it (or want to find someone who can) I would be happy to help sponsor. Later, Mako > The man page is incorrect: pwsafe simply doesn't implement this feature. > It never checks the $DISPAY variable until it tries to access the X clip > board. If that fails it will return a failure instead of simply printing > the password. > > I don't think it'd be a huge amount of work to make pwsafe behave as > described in the man page, but I'm not sure if it's a good idea to. > > Assume the following scenario: > The user has his laptop connected to a projector and is sharing his > desktop. He wants to log in to a secure website. pwsafe can send the > password to his clipboard, so that would be fine. However, for some > reason $DISPLAY is not set. If the behavior implemented in the manual is > implemented the password would just be printed and anyone could > photograph, remember or film it. > > I admit this is a fairly unlikely scenario, so if I'm the only one with > this concern I'd be willing to look into writing a patch to implement > the feature as described in the manual page. > > Regards, > Kristof > > -- Benjamin Mako Hill m...@atdot.cc http://mako.cc/ Creativity can be a social contribution, but only in so far as society is free to use the results. --GNU Manifesto -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#441874: pwsafe: Defaults to clipboard, when $DISPLAY is not set
The man page is incorrect: pwsafe simply doesn't implement this feature. It never checks the $DISPAY variable until it tries to access the X clip board. If that fails it will return a failure instead of simply printing the password. I don't think it'd be a huge amount of work to make pwsafe behave as described in the man page, but I'm not sure if it's a good idea to. Assume the following scenario: The user has his laptop connected to a projector and is sharing his desktop. He wants to log in to a secure website. pwsafe can send the password to his clipboard, so that would be fine. However, for some reason $DISPLAY is not set. If the behavior implemented in the manual is implemented the password would just be printed and anyone could photograph, remember or film it. I admit this is a fairly unlikely scenario, so if I'm the only one with this concern I'd be willing to look into writing a patch to implement the feature as described in the manual page. Regards, Kristof -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#441874: pwsafe: Defaults to clipboard, when $DISPLAY is not set
Package: pwsafe Version: 0.2.0-3 Severity: normal The manpage states that -E will "Force echo'ing of entry to stdout. This is selected by default if $DISPLAY is not set." However, in this version of pwsafe, "pwsafe -up " will respond with "Going to copy login and password to X selection" when $DISPLAY is not set, which obviously fails with "Can't open display: ". Richard -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.17.7rt Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages pwsafe depends on: ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries ii libgcc1 1:4.2.1-4 GCC support library ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library ii libncurses5 5.6+20070825-1 Shared libraries for terminal hand ii libreadline5 5.2-3 GNU readline and history libraries ii libsm62:1.0.3-1+b1 X11 Session Management library ii libssl0.9.8 0.9.8e-6 SSL shared libraries ii libstdc++64.2.1-4The GNU Standard C++ Library v3 ii libx11-6 2:1.0.3-7 X11 client-side library ii libxmu6 1:1.0.3-1 X11 miscellaneous utility library pwsafe recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]