Re: [openpgp] A way to securely define cleartext signature charset

Werner Koch <wk@gnupg.org> Tue, 11 September 2018 13:59 UTC

Return-Path: <wk@gnupg.org>
X-Original-To: openpgp@ietfa.amsl.com
Delivered-To: openpgp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8AFA5130DDB for <openpgp@ietfa.amsl.com>; Tue, 11 Sep 2018 06:59:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.899
X-Spam-Level:
X-Spam-Status: No, score=-6.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 UBo_rpzNWbGx for <openpgp@ietfa.amsl.com>; Tue, 11 Sep 2018 06:59:23 -0700 (PDT)
Received: from kerckhoffs.g10code.com (kerckhoffs.g10code.com [IPv6:2001:aa8:fff1:100::22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8A8F1130DC6 for <openpgp@ietf.org>; Tue, 11 Sep 2018 06:59:23 -0700 (PDT)
Received: from uucp by kerckhoffs.g10code.com with local-rmail (Exim 4.89 #1 (Debian)) id 1fzjCL-00078D-G0 for <openpgp@ietf.org>; Tue, 11 Sep 2018 15:59:21 +0200
Received: from wk by wheatstone.g10code.de with local (Exim 4.84 #3 (Debian)) id 1fzj0R-0007rv-FP; Tue, 11 Sep 2018 15:47:03 +0200
From: Werner Koch <wk@gnupg.org>
To: Andre Heinecke <aheinecke@intevation.de>
Cc: openpgp@ietf.org
References: <1803390.QxyNr08ExB@esus> <11022095.V4M2a8AgS6@esus> <87r2i0xsul.fsf@wheatstone.g10code.de> <2069480.MVc5JfVDOz@esus>
Organisation: GnuPG e.V.
X-message-flag: Mails containing HTML will not be read! Please send only plain text.
Mail-Followup-To: Andre Heinecke <aheinecke@intevation.de>, openpgp@ietf.org
Date: Tue, 11 Sep 2018 15:46:47 +0200
In-Reply-To: <2069480.MVc5JfVDOz@esus> (Andre Heinecke's message of "Tue, 11 Sep 2018 12:14:43 +0200")
Message-ID: <87musoxi2g.fsf@wheatstone.g10code.de>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=world_domination_quarter_SEAL_Team_6_Khaddafi_gamma_Belknap_Maple=CN"; micalg="pgp-sha256"; protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/NcE4u8s4v2CfjwgouUca4iTTekg>
Subject: Re: [openpgp] A way to securely define cleartext signature charset
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.29
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: <https://mailarchive.ietf.org/arch/browse/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, 11 Sep 2018 13:59:25 -0000

On Tue, 11 Sep 2018 12:14, aheinecke@intevation.de said:

> basically means: If no charset notation is provided a cleartext signature MUST 
> be in UTF-8?

Yes, that is due to 

  ## {3.4} Text
  
  Unless otherwise specified, the character set for text is the UTF-8
  [](#RFC3629) encoding of Unicode [](#ISO10646).

this has not changed since 2440.  But agreed in the beginning the world
was US-centric and this fact was often overlooked. And PGP-2 had no such
definition.


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.