From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/43897 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: pop3.el broken Date: Sat, 16 Mar 2002 10:59:20 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1016272912 14065 127.0.0.1 (16 Mar 2002 10:01:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 16 Mar 2002 10:01:52 +0000 (UTC) Cc: "(ding)" Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16mB0a-0003el-00 for ; Sat, 16 Mar 2002 11:01:52 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16mAyE-00069j-00; Sat, 16 Mar 2002 03:59:26 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 16 Mar 2002 03:59:30 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id DAA26987 for ; Sat, 16 Mar 2002 03:59:20 -0600 (CST) Original-Received: (qmail 25497 invoked by alias); 16 Mar 2002 09:59:10 -0000 Original-Received: (qmail 25487 invoked from network); 16 Mar 2002 09:59:09 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by gnus.org with SMTP; 16 Mar 2002 09:59:09 -0000 Original-Received: from localhost.localdomain (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.2/8.12.2) with ESMTP id g2G9x7KY022761; Sat, 16 Mar 2002 10:59:08 +0100 Original-To: Stainless Steel Rat In-Reply-To: (Stainless Steel Rat's message of "15 Mar 2002 23:03:19 -0500") Mail-Copies-To: nobody Original-Lines: 27 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1.95 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:43897 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:43897 Stainless Steel Rat writes: > * Simon Josefsson on Fri, 15 Mar 2002 > | The problem really is that POP3/APOP does not define in what encoding the > | password should be encoded into before inputting it to the hash function. > | It is left as a customization things, which means that only ASCII will > | interoperate unless you configure your client to what the server uses. > > Actually, er... as I recall, POP3 passwords are not 8-bit clean (they are > also Unix passwords). Simple ASCII is all that is allowed. Then passing 'ascii as the CODING-SYSTEM for `md5' seem like the right thing. If we want to extend the spec a little with the most likely politically correct coding system this week, we could change it into 'utf-8 (if the Emacs supports CODING-SYSTEM and the utf-8 coding system), which is compatible with ascii for ASCII-only characters, so it shouldn't break correct usage. The coding system to use should be customizable, of course. > Same goes for APOP and I think KPOP as well. You are doing > something very, very wrong if you try to use 8-bit characters in > passwords like that. APOP/KPOP doesn't transfer the password, so perhaps this area is underspecified. KPOP uses Kerberos, which "supports" non-ASCII characters, but only if the client and server uses the same charsets. AFAICR, they are moving towards UTF-8.