Re: [Sidrops] what to do when the CRL is hosed?

Stephen Kent <stkent@verizon.net> Mon, 23 March 2020 13:33 UTC

Return-Path: <stkent@verizon.net>
X-Original-To: sidrops@ietfa.amsl.com
Delivered-To: sidrops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CBCC33A00AD for <sidrops@ietfa.amsl.com>; Mon, 23 Mar 2020 06:33:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.563
X-Spam-Level:
X-Spam-Status: No, score=-3.563 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, RCVD_IN_MSPIKE_H2=-1.463, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=verizon.net
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 ryv1SdPh5G2M for <sidrops@ietfa.amsl.com>; Mon, 23 Mar 2020 06:33:25 -0700 (PDT)
Received: from sonic316-11.consmr.mail.bf2.yahoo.com (sonic316-11.consmr.mail.bf2.yahoo.com [74.6.130.121]) (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 815D73A0028 for <sidrops@ietf.org>; Mon, 23 Mar 2020 06:33:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verizon.net; s=a2048; t=1584970404; bh=BzoDYPxX86QWpBX8iBCnvDG/sgIjnByOMaPTpwRrf3E=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From:Subject; b=hlkmIhcdET1k3LdDCOibFGUnkMlc4lcjX+WZgt9CR5mvcuR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OHOnJBPLtojsLGHr08AoWMpmV.LrmmGEDy7r21WON8NJ9FLyo71cmDE yl35L6XBTxT2CdY7yXPg3Y02JwaQq71i6sZiAxNIhi9pVtCZccyo31AMN.Xxnu3kXd5pqYoTITBm 1yy5sDRcxSMs8ZsQinANqHBM4jwTYtUVOX53cyCMFMEvzE.jshG9KayJKYbseO_zcfDNhrJF.8hX hwYbEGZG8zLMoLJpAQUNkP0Lr8hWf_RLi2prWqhzVpbTy46Xjo_8mlVGExWaRxsy03Z2.DD.Cd4r TBTlF5xH0m3U2uhZmHMmwkYkx8xtBfOkkHo1MNckRQ7dLrFtG3sd6OC6sU3KsTSJuBKw.9aNaCFH 056wlKS_SZBVj34fZl9ub8PLlvLFjPvpetibVpjwF4YURXP0gWAQykQ.EBpNqKnDINvfRUmSopSK 8YJj6_I.7KHKWj7fsGHxHdY8Wo.1UTYhiHCUw0X0ILBphJI..g_WiWEh0iN6zq0Zieq2cpshPD_2 M2qr_oEVQ4mhP4NSextNYWhRVKGc80cw_sVmYiWL8hDOrNpLBsS.kCBGRisztO1gPKfPnlX0_NSH xTpdghRg03qbeGcC.dFo7sujdlHyKaqBwCrbgJeGcS4CucqDu9qj.7Kr_duP692oZj2wX7CqfqT3 gl4x11x8gViHb98UubulzBrVjjrII45tP5TAkJWNes3VYGyD1MNmZA6Q_g66jokFZ.hs-
Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.bf2.yahoo.com with HTTP; Mon, 23 Mar 2020 13:33:24 +0000
Received: by smtp402.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 48dcff255d0ccc7334654d01c4eb7cf5; Mon, 23 Mar 2020 13:33:20 +0000 (UTC)
To: Tim Bruijnzeels <tim@nlnetlabs.nl>
Cc: SIDR Operations WG <sidrops@ietf.org>
References: <20200224151532.GD19221@vurt.meerval.net> <20200224211531.GB60925@vurt.meerval.net> <20200225090338.10464b1a@glaurung.nlnetlabs.nl> <9cc3a6a5-f9c8-23df-588e-48dee5db62d4@verizon.net> <3B7006DE-5366-47E7-9CD6-AF392F9ED0CC@nlnetlabs.nl> <6602d1a7-ecbf-73a0-21d8-1254fb2aff97@verizon.net> <253D1ED7-52D8-4A00-9D69-095E61D09C9F@nlnetlabs.nl>
From: Stephen Kent <stkent@verizon.net>
Message-ID: <db920115-e188-700f-ceb2-08cd2996046a@verizon.net>
Date: Mon, 23 Mar 2020 09:33:20 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.6.0
MIME-Version: 1.0
In-Reply-To: <253D1ED7-52D8-4A00-9D69-095E61D09C9F@nlnetlabs.nl>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-Mailer: WebService/1.1.15518 hermes Apache-HttpAsyncClient/4.1.4 (Java/1.8.0_241)
Archived-At: <https://mailarchive.ietf.org/arch/msg/sidrops/kMuh5UtM0uxq-jEV5yPmjNm8ElA>
Subject: Re: [Sidrops] what to do when the CRL is hosed?
X-BeenThere: sidrops@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: A list for the SIDR Operations WG <sidrops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sidrops>, <mailto:sidrops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sidrops/>
List-Post: <mailto:sidrops@ietf.org>
List-Help: <mailto:sidrops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sidrops>, <mailto:sidrops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Mar 2020 13:33:27 -0000

Tim,
> In general I agree. Which is why I mentioned the example of objects 
> one might find published outside of the context of the RPKI 
> repository, and *not* listed on a manifest. Such objects have yet to 
> be invented but theoretically one can think of signed structures under 
> an existing RPKI CA cert (e.g. using their own embedded EE) - which is 
> shared out-of-band between parties. 
That's a very forward-looking perspective, one I had not considered.
> What I am suggesting is that we *could* update 6486 and make validation more restrictive regarding manifests:
> - all objects on a manifest must be present and accounted for (I agree with Job regarding partial withhold attacks)
> - all objects on a manifest need to be validated
> - objects that are not on a manifest can be considered invalid
>
> This is in-line with the specifications defined in RFC 6481 (A Profile for Resource Certificate Repository Structure), which essentially says that all current objects must be published, and that no invalid objects may be published.
agree.
> Then, if the manifest is already a signed statement of everything that is current, at least regarding the currently defined object types, as defined in RFC 6481, then what is gained by checking that CA was also capable of generating a CRL - using the same authoritative key and publication method - that confirms that the objects that are current according to the manifest are indeed not revoked?

I agree that with strict Manifest processing, CRLs provide redundant 
info. But, by that argument, why bother checking to see if certs are 
expired, since that too is redundant in a strict Manifest processing 
scenario?

> Requiring the CRLs just feels like unnecessary brittleness to me (again in the context of RFC 6486). It creates multiple loci for bugs in CA implementations, and complicated error conditions that need to be checked by RPs. This is what I meant with the perhaps poorly chosen word 'pedantic'. Maybe I should have used the word 'redundancy'. Redundancy may seem like a good idea in general, but in this case it really only allows for the possibility of two conflicting signed messages. Thus it seems that this does not increase security, but provides more ways for things to break.

redundancy is often beneficial in security systems. it helps prevent a 
single error from having terrible consequences. But, this strategy works 
only if one is flexible when responding  to an inconsistency between 
redundant pieces of info.

Steve