Re: [DNSOP] On Powerbind

Dick Franks <rwfranks@gmail.com> Thu, 16 April 2020 21:09 UTC

Return-Path: <rwfranks@gmail.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 6C5603A1100 for <dnsop@ietfa.amsl.com>; Thu, 16 Apr 2020 14:09:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, FREEMAIL_FROM=0.001, 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 (2048-bit key) header.d=gmail.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 JKK322OZbg1p for <dnsop@ietfa.amsl.com>; Thu, 16 Apr 2020 14:08:56 -0700 (PDT)
Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) (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 9CE273A10FE for <dnsop@ietf.org>; Thu, 16 Apr 2020 14:08:56 -0700 (PDT)
Received: by mail-il1-x136.google.com with SMTP id t4so96426ilp.1 for <dnsop@ietf.org>; Thu, 16 Apr 2020 14:08:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RAesCEWTv4b/X5WPJ3NxGvj9vpqd5TrA/6q7IA0rkoQ=; b=mbUhK9MCsOs5DobPQ3CF7UnWYVxb2Y+7rAvNqt74qF25jZkLovhvlz8V1ggt4kHyab 1nPkKnRQefnbozfotmgm2ygKKRJk2mb2fLh/i7Y2z+79c1kztI4SV+/jnruyCmQvbfC8 XljjNZnXE2Lm2CPSoxs4SKQiZe3NqY4LRVASc2e2JfvGJg818SRR2U+M+nJ6/nRH6j3q UUDZpImYQZ2M4fNNa1pWqfqQ/6wmKY51tRJF7mW1ZVgCGH35wm1XMHZAJWtUm1BI+J64 xlCozrHgQIjv+qk56IxnCBAngL8AFnsNFyJOCg2U1W7yvhYmLxfWtlciz6FrhUtMoToc w3dg==
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=RAesCEWTv4b/X5WPJ3NxGvj9vpqd5TrA/6q7IA0rkoQ=; b=Z975OHI5AKkPCq1agizkP/LwdRO+PhySQ52gV8VBcmBw5ZPF+sB1Dbf7omY9rmqa/M PJFXNOSxr4Sq8XI5Asn0tns0uh4pm4SJVtfLLyY6lCMhezy3vWC0XuxmaplqeI/+XwrM N8YDL7LHb1qoRQaGqQxAkvI01jcHbMQP8ZDolg/OcICQKBD9KinIIEPKbG9g1Ix16kvE CPgjsHwv1C1V7pfZbMh/ck7mW4AHrS8ox6/c+cCNWGNhFsUPtyprbKIFbt4DUiiNqTxX lG6Vc0BwzrfSQpKNduH0Klqs/SByuy7kcCbaSRhro01KU3n45vadI8UR3e3bN6nbE1bT +cFg==
X-Gm-Message-State: AGi0PuYG4Mf0MtJsESwZseVXLgCJdHjhcisHZAgW4dB/gXGAhexXTzUK PlN+TDHPZeuLY7DiPypbeHPzByzI1ReXfI1lweA=
X-Google-Smtp-Source: APiQypJO1ST7C+3CRJTxYUHrfOt3XAEGC3t1dlpu2rPLuavI9Z1JgVNxiTS8oO+Mge8RIIWl/vKrzDjBlS/nxwuOhGQ=
X-Received: by 2002:a92:9c0a:: with SMTP id h10mr3705403ili.12.1587071335537; Thu, 16 Apr 2020 14:08:55 -0700 (PDT)
MIME-Version: 1.0
References: <CAHbrMsAbHV8M2GR95nyZ-vCZOGghgxrdVD5NaTC=05q16HBd5Q@mail.gmail.com> <ybllfmxvhlr.fsf@w7.hardakers.net> <CAHbrMsAg4KMmMzntS-sWSeYJ3CWywC=Jv5pqBFdmCFmsY3tjUw@mail.gmail.com> <alpine.LRH.2.21.2004141951540.5865@bofh.nohats.ca> <CAHbrMsDgih9f2Et7x627JuYnZhinfWn80Zi_cBoO7UXR-gMGfg@mail.gmail.com> <CAHw9_i+yMHgjZzjCEhKghGb=m+zPqXep0tHgEwcojG_VpphTqw@mail.gmail.com>
In-Reply-To: <CAHw9_i+yMHgjZzjCEhKghGb=m+zPqXep0tHgEwcojG_VpphTqw@mail.gmail.com>
From: Dick Franks <rwfranks@gmail.com>
Date: Thu, 16 Apr 2020 22:08:19 +0100
Message-ID: <CAKW6Ri6pzs_-iQJeTfBuLtHaduBPTOHf-QainWn=6XvxvX1oWA@mail.gmail.com>
To: Warren Kumari <warren@kumari.net>
Cc: dnsop <dnsop@ietf.org>, Paul Wouters <paul@nohats.ca>, Wes Hardaker <wjhns1@hardakers.net>, Olaf Kolkman <kolkman@isoc.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/SW1t5XRNaN2R5p-zqKeo07I6ICA>
Subject: Re: [DNSOP] On Powerbind
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: Thu, 16 Apr 2020 21:09:02 -0000

Warren,

Comments in line

On Thu, 16 Apr 2020 at 20:31, Warren Kumari <warren@kumari.net> wrote:
>8

> Just checking - the DNSKEY Flags field is 16 bits, and we have so far burned:
> Bit 15 - SEP
> Bit 7 - Zone key
> Bit 8 - Revoked
> Did I miss any (I wasn't able to find a registry for this)?
>
> If not, we still have 13 bits left, and so using one for this seems ok
> to me, especially if recursives doing something with it is optional...
> (I had mistakenly remembered the Flags as being only 8 bits)
> I'm still not convinced that DNSSEC Transparency will come to pass,
> nor that many zones will use this flag, but I'm now much more sanguine
> about giving it a bit...
>

The lack(?) of a registry is indeed regrettable.

However, there seems to be some historical meaning attached to some of
the other flag bits.

If I look back at Net::DNS::SEC 0.17, bequeathed to me by one Olaf
Kolkman, the DS create() method contains the following mysterious
(perl) lines, for which I can offer no coherent explanation:

    # The key must not be a NULL key.
    if (($keyrr->{"flags"} & hex("0xc000") ) == hex("0xc000") ){
        croak "\nCreating a DS record for a NULL key is illegal";
    }

    # Bit 0 must not be set.
    if (($keyrr->{"flags"}) & hex("0x8000")) {
        croak "\nCreating a DS record for a key with flag bit 0 set ".
            "to 0 is illegal";
    }

    # Bit 6 must be set to 0 bit 7 must be set to 1
    if ( ($keyrr->{"flags"} & hex("0x300")) != hex("0x100")){
        croak "\nCreating a DS record for a key with flags 6 and 7 not set ".
            "0  and 1 respectively is illegal";
    }

which would seem to indicate that some of the other bits were thought
to have some meaning circa 2013.

Perhaps Olaf can shed some light on this topic.


Dick Franks
________________________