🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83620

Re: Encoding of AUTHINFO USER/PASS arguments

#83620
From: Shmuel Metz
Date: Thu, 04 Nov 2010 12:20
32 lines
3363 bytes
In <iash7b$1vm$1@news.trigofacile.com>, on 11/03/2010
   at 09:37 PM, Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> said:

>In the nntplib implementation of Python 3.2, a question is raised
>about how AUTHINFO USER/PASS arguments should be encoded.

Does it support RFC 4643 or only the AUTHINFO from RFC 2980?

>I therefore wonder how news clients handle 8-bit passwords.

A more basic question is how many are still based on RFC 1036 rather
than RFC 3977.

>** And how news servers should decode them?

If the news server supports RFC's 1036 and 4643 then it should
interpret the data as ASCII. If the news server only supports RFC's
1036 and 2980 (AUTHINFO) then it should treat octets 128-255 as
invalid.

>Suppose my password is "été".

Then you need a news client that supports RFC 4643.

-- 
Shmuel (Seymour J.) Metz, SysProg and JOAT  <http://patriot.net/~shmuel>

Unsolicited bulk E-mail subject to legal action.  I reserve the
right to publicly post or ridicule any abusive E-mail.  Reply to
domain Patriot dot net user shmuel+news to contact me.  Do not
reply to spamtrap@library.lspace.org
Technical Details
Message-ID: <4cd2a510$4$fuzhry+tra$mr2ice@news.patriot.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.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!Xl.tags.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!193.201.147.68.MISMATCH!feeder.news-service.com!tudelft.nl!txtfeed1.tudelft.nl!nntp.cybernetik.net!usenet-01.nntp.cybernetik.net!nntp.cybernetik.net!216.196.98.142.MISMATCH!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.posted.lerostechnologies!news.posted.lerostechnologies.POSTED!not-for-mail
References: <iash7b$1vm$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <4cd2a510$4$fuzhry+tra$mr2ice@news.patriot.net>
Subject: Re: Encoding of AUTHINFO USER/PASS arguments
Date: Thu, 04 Nov 2010 08:20:32 -0400
From: Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid>
References: <iash7b$1vm$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!Xl.tags.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!193.201.147.68.MISMATCH!feeder.news-service.com!tudelft.nl!txtfeed1.tudelft.nl!nntp.cybernetik.net!usenet-01.nntp.cybernetik.net!nntp.cybernetik.net!216.196.98.142.MISMATCH!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.posted.lerostechnologies!news.posted.lerostechnologies.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 04 Nov 2010 18:11:28 -0500
Newsgroups: news.software.nntp,news.software.readers
Mail-Copies-To: nobody
Organization: Atid/2
X-CompuServe-Customer: Yes
X-Coriate: interspeed.co.nz
X-Ecrate: tanandtanlawyers.com
X-Pose: George Cox
X-Punge: Micro$oft
X-Sanguinate: The MVS Guy
X-Terminate: SPA(GIS)
X-Tinguish: Mark Griffith
X-Treme: C&C,DWS
X-WebTV-Stationery: Standard; BGColor=black; TextColor=black
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
X-Newsreader: MR/2 Internet Cruiser Edition for OS/2 v3.00.11.18 BETA/60
Lines: 32
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 208.103.155.82
X-Trace: sv3-fZmLdAPljtSXGtmJ3gK47eKyh7h90FUUx1el3bp6J7JQcxSxGBc8HSsx0xFZRMxicU4CVO3iKaISpPl!0403sYr2WY+a46I/3Ffq8mlO21zjNrI1wms/ytFAjAdH9WXOJjc9VYUrooQTRtz0rX/DXG3fWT7L!kZK84oLGThuPzVpcAYZ/ErxrBb+25Wf7SQ==
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint
 properly
X-Postfilter: 1.3.40
X-Original-Bytes: 3179