🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #55603

Re: Is there a hack to support paswords that contain spaces?

#55603
From: Russ Allbery
Date: Mon, 10 Dec 2001 23:07
46 lines
3694 bytes
Andrew <andrew+nonews@supernews.com> writes:
> Russ Allbery wrote:

>> How is this any different than the case where the server has the
>> password?  The server accepts a clear-text password from the user and
>> checks it via some black magic, which means using the PLAIN SASL
>> mechanism.  SASL says thou shalt not use that mechanism unless the
>> channel is encrypted, of course.

> Well, that's the sticking point, isn't it. Encrypting all the
> connections would mean spending mucho $$$ on more CPUs, and once you
> have an encrypted channel it doesn't matter much whether you use SASL
> PLAIN or the existing AUTHINFO commands.

Thou shalt not use SASL PLAIN over unencrypted channels is a SHOULD.
Maybe there's reason to break it.  But this is a problem with all
protocols, not just with NNTP; there has to be *some* way of
authenticating that doesn't involve sending clear-text passwords over the
wire or the authentication mechanism just isn't usable in a lot of
situations.

> But the one draft that I've seen so far for SASL in nntp tried to
> _require_ that the server support a particular scheme (DIGEST-MD5 or
> CRAM-MD5, I forget which), which is simply not an option when doing
> third-party auth because the server can't reconstitute the cleartext
> password.

Well, bear in mind that those sorts of requirements in the standard just
mean that the server software has to be capable of it when compiled the
right way, which is pretty trivial if one uses the Cyrus SASL libraries to
implement SASL.  It doesn't mean that any *particular* server has to be
configured to support that authentication mechanism.

It's pretty much standard for choice of authentication mechanism that many
sites will have site policies restricting the available methods.  For
example, we don't allow any of the basic SASL authentication mechanisms on
our IMAP servers, only KERBEROS_V4 and soon GSSAPI, because that's the
authentication system we use site-wide and there's no way to use CRAM-MD5
or any other digest authentication system in our security environment.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <ylelm2r7w7.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <9urfpi$7vi$1@teta.doit.wisc.edu> <ylg06l5r1p.fsf@windlord.stanford.edu> <9uuko7$br8$1@marduk.litech.org> <20011209040538.266$zf@newsreader.com> <9v04t0$bq6$2@marduk.litech.org> <20011209140125.796$s8@newsreader.com> <ylitbgcf5h.fsf@windlord.stanford.edu> <20011209223431.557$ZN@newsreader.com> <ylzo4r1okd.fsf@windlord.stanford.edu> <slrna19249.jv5.andrew+nonews@trinity.supernews.net> <ylu1uyluds.fsf@windlord.stanford.edu> <slrna1a8f8.2s8s.andrew+nonews@trinity.supernews.net>

Show Full Headers
Complete Article Headers
Message-ID: <ylelm2r7w7.fsf@windlord.stanford.edu>
Subject: Re: Is there a hack to support paswords that contain spaces?
Date: Mon, 10 Dec 2001 23:07:52 +0000
From: Russ Allbery <rra@stanford.edu>
References: <9urfpi$7vi$1@teta.doit.wisc.edu> <ylg06l5r1p.fsf@windlord.stanford.edu> <9uuko7$br8$1@marduk.litech.org> <20011209040538.266$zf@newsreader.com> <9v04t0$bq6$2@marduk.litech.org> <20011209140125.796$s8@newsreader.com> <ylitbgcf5h.fsf@windlord.stanford.edu> <20011209223431.557$ZN@newsreader.com> <ylzo4r1okd.fsf@windlord.stanford.edu> <slrna19249.jv5.andrew+nonews@trinity.supernews.net> <ylu1uyluds.fsf@windlord.stanford.edu> <slrna1a8f8.2s8s.andrew+nonews@trinity.supernews.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 45
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1008025672 1414 171.64.13.23 (10 Dec 2001 23:07:52 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)