Re: [DNSOP] DNSSEC Strict Mode

Ben Schwartz <bemasc@google.com> Tue, 23 February 2021 15:27 UTC

Return-Path: <bemasc@google.com>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 624533A2C5C for <dnsop@ietfa.amsl.com>; Tue, 23 Feb 2021 07:27:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.599
X-Spam-Level:
X-Spam-Status: No, score=-17.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
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 3cWjOLjFGyvU for <dnsop@ietfa.amsl.com>; Tue, 23 Feb 2021 07:27:04 -0800 (PST)
Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 71C203A2C5B for <dnsop@ietf.org>; Tue, 23 Feb 2021 07:27:04 -0800 (PST)
Received: by mail-io1-xd33.google.com with SMTP id f20so17460614ioo.10 for <dnsop@ietf.org>; Tue, 23 Feb 2021 07:27:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=d/X5nZwNaFcHa2and5ghjNUgY3d2FsWDuJO44MCj7n8=; b=XwfKLB5M7OXdgRgAfNXxZ4lfJNkXe8o/uCcH37kEvjoHG0ML7uD0p9MVJs5LjITfnV 6TK56f7zxZfRDlo9aXlnZtzjwk2TDPkBY5avKfoiVjx4BQeuJcGv31KluDPHXnM4iAIv 5i0s330u4Kz3lSl+UcmI9QDxhP6j4Qxv8AyyS8tBR2vJdTNZA6KQ1nXBfUroxVkp9MA9 kRWJx0I164lXPRYqw2SK4df4JU50XmaHHkOfyvrBd5+kLs4s+sFBVJMjpTdcCWPb9PcV fwD3K02/nDAAnCxnXKMHFz1hos9xvY4Za+4J7TKXPsbNAZhNVE0Lea1eS6DClMXBSWlm WriA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=d/X5nZwNaFcHa2and5ghjNUgY3d2FsWDuJO44MCj7n8=; b=RdMWIn1RicnIQEFPwHoXUN2gVSHBpxAkzDL29EITKwxahDy0gygUUHoSy6XgPUmde9 mng1foiuNwQFlprb9TayOIGjvbWtUv/Nsh3IiBUAYhu8UVIyKhqDMl587MaLhbjQoo76 kEtouUJICwjD4C+tQwxcac1+Uf2QcTD1sumFaNryGZZI41BS466b25BRLrUcRyisGmuA 9IAuKsG0g0bGgYuabSzKjn5gvlHCaXiIVH3EHZ08rl3HHULu2PrdBBzNZimXrkLwttx4 cdgAb7ie8uBH4fERv1Crw0wgvzcKeWFHfQFTMVQw1ew9dLd80ssOlAplGXEyjbmYoVjn W3kQ==
X-Gm-Message-State: AOAM530X1sq0jmRY19C8qx0DOe9KP7Fy6BGlfFlGQ6uYcAldKHIAPJUp 7fOCPpWD2jUN1sE33f/ql8jQiJLVaMLR/OE1QmGtGNmHpVnlfQ==
X-Google-Smtp-Source: ABdhPJw94NpVG7Lm7aD/7WvHMJefVQ/KwZILA7RKQMy4xqdGgY6oIDrSxYFtLBuVSr89Ax3iMdSFDkZ51LvyvfOtY08=
X-Received: by 2002:a05:6602:24cb:: with SMTP id h11mr20310795ioe.79.1614094023009; Tue, 23 Feb 2021 07:27:03 -0800 (PST)
MIME-Version: 1.0
References: <CAHbrMsBeCiZ-31hjKvet2UPDPFhdVYpgqR6Kw-WWz1ERgeSFoQ@mail.gmail.com> <4d343f14-7e40-a510-ddce-d295415ca167@nic.cz>
In-Reply-To: <4d343f14-7e40-a510-ddce-d295415ca167@nic.cz>
From: Ben Schwartz <bemasc@google.com>
Date: Tue, 23 Feb 2021 10:26:51 -0500
Message-ID: <CAHbrMsAFq-76LvWc2j2kxK2mVAiFpGvChJWz_p=XSqM6ghutBw@mail.gmail.com>
To: "libor.peltan" <libor.peltan@nic.cz>
Cc: dnsop <dnsop@ietf.org>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="000000000000eb95f905bc028c31"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/JKodkQXY4OckNpm7laquD7lcBqQ>
Subject: Re: [DNSOP] DNSSEC Strict Mode
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop/>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Feb 2021 15:27:06 -0000

Libor,

That's what I thought too.  See RFC 6840 Section 5.11:

> The last paragraph of Section 2.2 of [RFC4035] includes rules
> describing which algorithms must be used to sign a zone.  Since these
> rules have been confusing, they are restated using different language
> here:
...
>> A signed zone MUST include a DNSKEY for each algorithm present in
>> the zone's DS RRset and expected trust anchors for the zone.  The
>> zone MUST also be signed with each algorithm (though not each key)
>> present in the DNSKEY RRset.
...
> This requirement applies to servers, not validators.  Validators
> SHOULD accept any single valid path.

RFC 6840 tells validators to be lax, so if we want to enforce this rule
then we need a signal (or we need to update RFC 6840).

On Tue, Feb 23, 2021 at 10:17 AM libor.peltan <libor.peltan@nic.cz> wrote:

> Hi Ben,
>
> could you please briefly summarize how this relates to last paragraph of
> https://tools.ietf.org/html/rfc4035#section-2.2 ?
>
> The way how I understand it, each DNSKEY already must be treated as the
> proposed "strict" mode, thus this proposal is completely useless.
>
> Thanks,
>
> Libor
> Dne 23. 02. 21 v 16:08 Ben Schwartz napsal(a):
>
> Inspired by some recent discussions here (and at DNS-OARC), and hastened
> by the draft cut-off, I present for your consideration "DNSSEC Strict
> Mode":
> https://datatracker.ietf.org/doc/html/draft-schwartz-dnsop-dnssec-strict-mode-00
>
> Abstract:
> Currently, the DNSSEC security of a zone is limited by the strength of its
> weakest signature algorithm.  DNSSEC Strict Mode makes zones as secure as
> their strongest algorithm instead.
>
> The draft has a long discussion about why and how, but the core normative
> text is just three sentences:
>
> The DNSSEC Strict Mode flag appears in bit $N of the DNSKEY flags field.
> If this flag is set, all records in the zone MUST be signed correctly under
> this key's specified Algorithm.  A validator that receives a Strict Mode
> DNSKEY with a supported Algorithm SHOULD reject as Bogus any RRSet that
> lacks a valid RRSIG with this Algorithm.
>
> --Ben Schwartz
>
> _______________________________________________
> DNSOP mailing listDNSOP@ietf.orghttps://www.ietf.org/mailman/listinfo/dnsop
>
>