From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77536 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Password protection Date: Sat, 05 Mar 2011 12:53:57 +0100 Organization: Programmerer Ingebrigtsen Message-ID: References: <87sk0t3oxm.fsf@lifelogs.com> <87fwwszd1i.fsf@lifelogs.com> <87wrq4wcpc.fsf@lifelogs.com> <87zkpj69mh.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1299326134 4755 80.91.229.12 (5 Mar 2011 11:55:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 Mar 2011 11:55:34 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25859@lists.math.uh.edu Sat Mar 05 12:55:28 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pvq51-0002hD-7i for ding-account@gmane.org; Sat, 05 Mar 2011 12:55:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Pvq4m-0008G8-E9; Sat, 05 Mar 2011 05:55:12 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Pvq4k-0008Fh-P4 for ding@lists.math.uh.edu; Sat, 05 Mar 2011 05:55:10 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Pvq4f-0002VV-OC for ding@lists.math.uh.edu; Sat, 05 Mar 2011 05:55:10 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Pvq4f-000231-17 for ding@gnus.org; Sat, 05 Mar 2011 12:55:05 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pvq4e-0002af-Fu for ding@gnus.org; Sat, 05 Mar 2011 12:55:04 +0100 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Mar 2011 12:55:04 +0100 Original-Received: from larsi by cm-84.215.51.58.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Mar 2011 12:55:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 22 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.51.58.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEVDFFg/Cz9OH2tZK3nO oSFBByt8SnE/D0w8hvsCAAACaElEQVQ4jbWTQW/bMAyFGcOwrxHQxFdBDtq7FPhsJBp9HrBs1zZW natcpOHf35PsYpftOAIGDH7i4yMt0+UfQf8FfMPz/jfAe4Cf6W23a4gKs1G7y6WJhp+vdAs7pbbG to5a58yLUrFIQPdhVk3hrPsDzAK8+gKuteblE6AFMH1ISs6tQH9ehNaKi2rapcJZq3eX70Kn6pVy RdG6tQcqvivpV0CLlHHWmA1MCipMX86ik9QIKWcMzQB9eaMhyIdOSlMC1pAopYb7WzOU1FprXDct FZpqpfrHbTuUhS2WitQJgGTP9wRaN40ZtF8le34MsS/HDLoMDLpT/egfw8fp6KbJZYA0/KLk3ld9 cTrYCRUWwCatNItfwLVbgVvCBB9jb6bDqR2XHt04jdhZ8F5kKI7dOZ9LoJuQ9H54iuLpMKZ3vsJu TvP0+vJD5EkTX43pJiTI+zEvZcMikevK+ytm9iPxmE3pchCRyvPb3nPrwpnSOE5T4SUSAip16V3H 2W6XPDWQSqzy5sgZoPlENAOIKKDq7MLkCXJG1zLvlAg2NiuiYB176tga5HGdBJfO6N2WsGEOFLCZ WlQTcd7gy2y29HxKwDuHiyjZkymg2sSCjQ/Ezm0gI7RGjSO+SKC1cwarW6rRvfBHYjIZIGJmdaTD ApYRkkRM5yXWJWWgARpJ2SQjCdwYwGgRoKUzlNCuvMIup7lFzVIjBxYhGSpMzs6gKfLJ1+Kq4pKZ vNVr8zpNiS7kX31gCicMK0s8fI4+MPbd+dRvCey/okkHDmfcq8CbJnup77fUAl89cP4//PsvijWc BhjNWox79Rt+Ggr3k59mTgAAAABJRU5ErkJggg== Mail-Copies-To: never X-Now-Playing: Bill Wells Trio's _Incorrect Practice_: "Burmac" User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:hWZWLTNKPy1kP3LxKRbB5iFOMWQ= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77536 Archived-At: Ted Zlatanov writes: > Any interest in pursuing this on emacs-devel now that I've done the > above with your (copious) help? I don't really have any ideas as to how to usably only expose passwords on the C level and not on the Lisp level, since you usually need to do transforms on the string (base64, etc) before sending it. I think, perhaps, the most workable scheme for not exposing passwords in backtraces and the like is the one you've come up with -- the lexical bindings. The other scheme that may work is the "have a password data type" think, which would be oblique to the normal printing routines, but where you'd have a special accessor to get the real string. But it seems kinda heavyweight, especially since the lexical binding thing seems to work just fine. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen