🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #55650

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

#55650
From: Curt Welch
Date: Mon, 17 Dec 2001 01:09
27 lines
2479 bytes
jeff@litech.org (Jeffrey M. Vinocur) wrote:
> In article <20011210113725.185$UG@newsreader.com>,
> Curt Welch <curt@kcwc.com> wrote:
> >
> >The simple way to solve the character set issues vs the command parsing
> >issues is to do something like they did with HTTP where the user name
> >and password gets base-64 encoded.  You could even hack it into the
> >current system by using the same AUTHINFO syntax, expect when the
> >password was base-64 encoded, it could be marked with some magic tokens
> >such as: ?B?Vu6FkkF?B?
>
> Err, what magic tokens are there that can't be part of a valid
> password when interpreted under the plaintext encoding?

Err, that's not important.  The password checking code would obviously have
to check the raw version first just in case his password was
"?B?Vu6FkkF?B?" and then if that failed, and the password had the correct
magic tokens, it would try decoding it and checking the decoded version as
well.

The use of the magic tokens would simply prevent the code from having to
do the double check 99.9999% of the time.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20011216200900.703$8p@newsreader.com>
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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!feed2.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <9urfpi$7vi$1@teta.doit.wisc.edu> <20011209231353.195$VD@newsreader.com> <1007975106.98746@ok-corral.gunslinger.net> <20011210113725.185$UG@newsreader.com> <9vivud$t5i$2@marduk.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <20011216200900.703$8p@newsreader.com>
Subject: Re: Is there a hack to support paswords that contain spaces?
Date: Mon, 17 Dec 2001 01:09:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <9urfpi$7vi$1@teta.doit.wisc.edu> <20011209231353.195$VD@newsreader.com> <1007975106.98746@ok-corral.gunslinger.net> <20011210113725.185$UG@newsreader.com> <9vivud$t5i$2@marduk.litech.org>
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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!feed2.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com ygp8E2Sg0,Cl7AnT-ldUXtZLcoIRncNOjRC8jzMsxSAd77_x/_
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
  %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 26