Re: [openpgp] Character encodings

Jon Callas <jon@callas.org> Tue, 17 March 2015 19:45 UTC

Return-Path: <jon@callas.org>
X-Original-To: openpgp@ietfa.amsl.com
Delivered-To: openpgp@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A40871A88D5 for <openpgp@ietfa.amsl.com>; Tue, 17 Mar 2015 12:45:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b4dRznJJ3JyT for <openpgp@ietfa.amsl.com>; Tue, 17 Mar 2015 12:45:04 -0700 (PDT)
Received: from mail.merrymeet.com (merrymeet.com [173.164.244.100]) by ietfa.amsl.com (Postfix) with ESMTP id C7FC81A88D0 for <openpgp@ietf.org>; Tue, 17 Mar 2015 12:45:04 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.merrymeet.com (Postfix) with ESMTP id 2A67D6CB33DC for <openpgp@ietf.org>; Tue, 17 Mar 2015 12:44:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at merrymeet.com
Received: from mail.merrymeet.com ([127.0.0.1]) by localhost (merrymeet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tnKYCd0x4Vch for <openpgp@ietf.org>; Tue, 17 Mar 2015 12:44:32 -0700 (PDT)
Received: from keys.merrymeet.com (keys.merrymeet.com [173.164.244.97]) by mail.merrymeet.com (Postfix) with ESMTPSA id 04A896CB33CA for <openpgp@ietf.org>; Tue, 17 Mar 2015 12:44:31 -0700 (PDT)
Received: from [10.0.23.30] ([173.164.244.98]) by keys.merrymeet.com (PGP Universal service); Tue, 17 Mar 2015 12:44:32 -0700
X-PGP-Universal: processed; by keys.merrymeet.com on Tue, 17 Mar 2015 12:44:32 -0700
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\))
From: Jon Callas <jon@callas.org>
In-Reply-To: <CAHRa8=UbKKnmAmHCxsGwONsgM5udRbbKkm=Nyzf7Jrgg70+j5A@mail.gmail.com>
Date: Tue, 17 Mar 2015 12:44:31 -0700
Message-Id: <BA6424A3-68E7-4690-AA13-EE4B1C3F964C@callas.org>
References: <CAHRa8=UbKKnmAmHCxsGwONsgM5udRbbKkm=Nyzf7Jrgg70+j5A@mail.gmail.com>
To: "openpgp@ietf.org" <openpgp@ietf.org>
X-Mailer: Apple Mail (2.2070.6)
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/openpgp/Ezvym_1R7BCLkSouEGC0c48KD5Q>
Subject: Re: [openpgp] Character encodings
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/openpgp>, <mailto:openpgp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/openpgp/>
List-Post: <mailto:openpgp@ietf.org>
List-Help: <mailto:openpgp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/openpgp>, <mailto:openpgp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Mar 2015 19:45:06 -0000

One of the things that OpenPGP doesn't do very well that needs to be fixed is layering.

We have the notion of text versus binary because at one time that kinda made sense. Back when FTP was high-tech, you could get better usability by knowing that something was text so that you could translate between SIXBIT, EBCDIC, RAD50, ASCII, and other codings that only used upper case in their names (because lower-case was also high-tech in those days).

We don't have those problems any more. We have slightly different problems, but we also have solutions to those. If you want to send a text message that has a strange encoding, there are ways to do that. Wyllys Ingersoll and others have noted this.

Just get rid of the notion of text. Make it be all binary. Push the problem up a layer in the software stack -- they have to deal with it anyway, and all OpenPGP can do is make it worse.

	Jon