GNU bug report logs - #4459
23.1; ERC customize does not hide password from view

Previous Next

Package: emacs;

Reported by: Robin Green <greenrd <at> greenrd.org>

Date: Thu, 17 Sep 2009 14:10:04 UTC

Severity: wishlist

Tags: fixed, patch

Fixed in version 24.2

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4459 in the body.
You can then email your comments to 4459 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4459; Package emacs. (Thu, 17 Sep 2009 14:10:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Robin Green <greenrd <at> greenrd.org>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 17 Sep 2009 14:10:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Robin Green <greenrd <at> greenrd.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1; ERC customize does not hide password from view
Date: Thu, 17 Sep 2009 15:00:57 +0100
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs <at> gnu.org mailing list,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

If I use the Customize mode to set a password for ERC to try automatically, Customize does not hide the password from view. (Incidentally, I can't hide the password from view by clicking the relevant show/hide arrow afterwards, either - it refuses to hide anything.)

To reproduce this, in ERC major mode (reachable with M-x erc), choose Customize from the ERC menu. Then choose the Erc Services group. Then, under "Erc Nickserv Passwords:", press the INS button and choose some Network name. Press the INS buton under "Nickname and password:" and enter some arbitrary nickname and password. The password is visible on the screen (unlike when ERC prompts for a password itself, when it hides the password by printing periods instead of the actual password characters).

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/share/emacs/23.1/etc/DEBUG for instructions.


In GNU Emacs 23.1.1 (i386-redhat-linux-gnu, GTK+ Version 2.17.9)
 of 2009-08-31 on x86-4.fedora.phx.redhat.com
Windowing system distributor `The X.Org Foundation', version 11.0.10699901
configured using `configure  '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--target=i686-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' 'build_alias=i386-redhat-linux-gnu' 'host_alias=i386-redhat-linux-gnu' 'target_alias=i686-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Custom

Minor modes in effect:
  erc-list-mode: t
  erc-menu-mode: t
  erc-autojoin-mode: t
  erc-ring-mode: t
  erc-networks-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-track-minor-mode: t
  erc-match-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-netsplit-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-move-to-prompt-mode: t
  erc-readonly-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
*censored because it contains a password*

Recent messages:
Creating customization items ...done
Resetting customization items...done
Creating customization setup...done
Mark set
M-TAB: complete field; RET: enter value
To install your edits, invoke [State] and choose the Set operation
custom-toggle-hide: There are unsaved changes [5 times]
byte-code: Beginning of buffer [8 times]
Saving file /home/greenrd/.emacs...
Wrote /home/greenrd/.emacs




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4459; Package emacs. (Fri, 18 Sep 2009 16:45:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 18 Sep 2009 16:45:04 GMT) Full text and rfc822 format available.

Message #10 received at 4459 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Robin Green <greenrd <at> greenrd.org>
Cc: 4459 <at> debbugs.gnu.org, Michael Olson <mwolson <at> gnu.org>
Subject: Re: 23.1; ERC customize does not hide password from view
Date: Fri, 18 Sep 2009 12:37:08 -0400
> If I use the Customize mode to set a password for ERC to try
> automatically, Customize does not hide the password from
> view. (Incidentally, I can't hide the password from view by clicking
> the relevant show/hide arrow afterwards, either - it refuses to hide
> anything.)

> To reproduce this, in ERC major mode (reachable with M-x erc), choose
> Customize from the ERC menu. Then choose the Erc Services group. Then,
> under "Erc Nickserv Passwords:", press the INS button and choose some
> Network name. Press the INS buton under "Nickname and password:" and
> enter some arbitrary nickname and password. The password is visible on
> the screen (unlike when ERC prompts for a password itself, when it
> hides the password by printing periods instead of the actual password
> characters).

I'm afraid this is not really feasible to fix, because of the way
Customize is designed.



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4459; Package emacs. (Fri, 18 Sep 2009 17:15:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Olson <mwolson <at> gnu.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 18 Sep 2009 17:15:05 GMT) Full text and rfc822 format available.

Message #15 received at 4459 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Michael Olson <mwolson <at> gnu.org>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: Robin Green <greenrd <at> greenrd.org>, 4459 <at> debbugs.gnu.org
Subject: Re: 23.1; ERC customize does not hide password from view
Date: Fri, 18 Sep 2009 10:09:31 -0700
On Fri, Sep 18, 2009 at 9:37 AM, Chong Yidong <cyd <at> stupidchicken.com> wrote:
>> If I use the Customize mode to set a password for ERC to try
>> automatically, Customize does not hide the password from
>> view. (Incidentally, I can't hide the password from view by clicking
>> the relevant show/hide arrow afterwards, either - it refuses to hide
>> anything.)
>
>> To reproduce this, in ERC major mode (reachable with M-x erc), choose
>> Customize from the ERC menu. Then choose the Erc Services group. Then,
>> under "Erc Nickserv Passwords:", press the INS button and choose some
>> Network name. Press the INS buton under "Nickname and password:" and
>> enter some arbitrary nickname and password. The password is visible on
>> the screen (unlike when ERC prompts for a password itself, when it
>> hides the password by printing periods instead of the actual password
>> characters).
>
> I'm afraid this is not really feasible to fix, because of the way
> Customize is designed.

Would it make sense for me to turn this variable into a defvar instead
of a defcustom, so that users can't accidentally set it in their emacs
init file?

-- 
Michael Olson  ||  http://mwolson.org/
Projects: Emacs, Muse, ERC, EMMS



Severity set to 'wishlist' from 'normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Tue, 22 Sep 2009 18:25:08 GMT) Full text and rfc822 format available.

bug reassigned from package 'emacs' to 'emacs,erc'. Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> emacsbugs.donarmstrong.com. (Mon, 09 Nov 2009 17:35:35 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#4459; Package emacs,erc. (Wed, 10 Feb 2010 16:55:02 GMT) Full text and rfc822 format available.

Message #22 received at 4459 <at> debbugs.gnu.org (full text, mbox):

From: Vivek Dasmohapatra <vivek <at> etla.org>
To: 4459 <at> debbugs.gnu.org
Subject: Hiding erc nickserv passwords in custom buffers
Date: Wed, 10 Feb 2010 16:53:53 +0000 (GMT)
[Message part 1 (text/plain, inline)]
Tags: patch

Not sure about the previous comment about it not being possible, but the
above patch seems to dtrt for me.
[0001-Hide-erc-nickserv-passwords-password-field-contents-.patch (text/x-diff, attachment)]

Added tag(s) patch. Request was from Vivek Dasmohapatra <vivek <at> etla.org> to control <at> debbugs.gnu.org. (Mon, 15 Feb 2010 02:50:03 GMT) Full text and rfc822 format available.

Added tag(s) fixed. Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 11 Apr 2012 13:45:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 24.2, send any further explanations to 4459 <at> debbugs.gnu.org and Robin Green <greenrd <at> greenrd.org> Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 11 Apr 2012 13:45:04 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#4459; Package emacs. (Wed, 11 Apr 2012 13:46:02 GMT) Full text and rfc822 format available.

Message #31 received at 4459 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Vivek Dasmohapatra <vivek <at> etla.org>
Cc: 4459 <at> debbugs.gnu.org
Subject: Re: bug#4459: Hiding erc nickserv passwords in custom buffers
Date: Wed, 11 Apr 2012 15:43:31 +0200
Vivek Dasmohapatra <vivek <at> etla.org> writes:

> Not sure about the previous comment about it not being possible, but the
> above patch seems to dtrt for me.

Thanks for the patch; I've installed it in the Emacs trunk.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 10 May 2012 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 10 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.