[dmarc-ietf] Definition of "value" in RFC8601

Damian Lukowski <rfc@arcsin.de> Sat, 28 March 2020 10:39 UTC

Return-Path: <rfc@arcsin.de>
X-Original-To: dmarc@ietfa.amsl.com
Delivered-To: dmarc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 96AFD3A0924 for <dmarc@ietfa.amsl.com>; Sat, 28 Mar 2020 03:39:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=arcsin.de
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 EgZRZbTQvqgp for <dmarc@ietfa.amsl.com>; Sat, 28 Mar 2020 03:39:31 -0700 (PDT)
Received: from scalar.arcsin.de (scalar.arcsin.de [185.162.250.16]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 596513A0914 for <dmarc@ietf.org>; Sat, 28 Mar 2020 03:39:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=arcsin.de; h= content-transfer-encoding:content-language:content-type :content-type:mime-version:date:date:message-id:subject:subject :from:from:x-amavis-category; s=dkim01; t=1585391965; x= 1587206366; bh=6bFhLQnfneAy/oJy441mew/EYnqT36du57xXijq+mxc=; b=c PuczRZycvuiSBJV2Kgu5zStusMFGggBmqAR4VAGDW8hzTlouv6EGj7LSekIE3phL ahvZITtKpjIJaiBlO7UpKkl0bzpxseto+88ewk9XdAqZACf5CAi+ZVefsN1oarSE Tid1VVNHe+ETpIEUHKjInWbejEpI+c88YWqVWUo9rs=
X-Amavis-Category: scalar.arcsin.de; category=CleanTag
From: Damian Lukowski <rfc@arcsin.de>
To: dmarc@ietf.org
Message-ID: <a333cd90-06be-4ac8-b571-ac0f3ebaefee@arcsin.de>
Date: Sat, 28 Mar 2020 11:39:59 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/g1U__axJW5I6OenEuwD48nwptzU>
Subject: [dmarc-ietf] Definition of "value" in RFC8601
X-BeenThere: dmarc@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Domain-based Message Authentication, Reporting, and Compliance \(DMARC\)" <dmarc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dmarc>, <mailto:dmarc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dmarc/>
List-Post: <mailto:dmarc@ietf.org>
List-Help: <mailto:dmarc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dmarc>, <mailto:dmarc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Mar 2020 10:39:34 -0000

Hello,

RFC8601 section 2.2 defines

> authserv-id = value
>             ; see below for a description of this element
> [...]
> The "value" is as defined in Section 5.1 of [MIME], with
> "quoted-string" updated as specified in [RFC6532].
[MIME] (RFC2045) section 5.1

> value := token / quoted-string
> token := 1*<any (US-ASCII) CHAR except SPACE, CTLs,
>             or tspecials>

The token is not said to be updated by [RFC6532] as is quoted-string, so
by my interpretation non-ASCII cannot be used without quotes.

If so, then current implementations of OpenDKIM and OpenDMARC are wrong
or imcomplete, as they do not check for Non-ASCII AuthservID and produce
headers like

> Authentication-Results: öde; dkim=none; dkim-atps=neutral
Is my understanding correct?

Regards
 Damian