Re: [Anima] [lamps] Long-lived certificates, but frequently renewed certificates

Nico Williams <nico@cryptonector.com> Tue, 23 March 2021 23:44 UTC

Return-Path: <nico@cryptonector.com>
X-Original-To: anima@ietfa.amsl.com
Delivered-To: anima@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 405ED3A19FC; Tue, 23 Mar 2021 16:44:14 -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=cryptonector.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 ZbmxmhWnsYrO; Tue, 23 Mar 2021 16:44:09 -0700 (PDT)
Received: from dragonfly.birch.relay.mailchannels.net (dragonfly.birch.relay.mailchannels.net [23.83.209.51]) (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 B2EB13A19FB; Tue, 23 Mar 2021 16:44:09 -0700 (PDT)
X-Sender-Id: dreamhost|x-authsender|nico@cryptonector.com
Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 8B30621BB2; Tue, 23 Mar 2021 23:44:08 +0000 (UTC)
Received: from pdx1-sub0-mail-a52.g.dreamhost.com (100-96-17-139.trex.outbound.svc.cluster.local [100.96.17.139]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 15C5221B62; Tue, 23 Mar 2021 23:44:08 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|nico@cryptonector.com
Received: from pdx1-sub0-mail-a52.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.17.139 (trex/6.1.1); Tue, 23 Mar 2021 23:44:08 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|nico@cryptonector.com
X-MailChannels-Auth-Id: dreamhost
X-Bottle-Abiding: 163442cb6593972c_1616543048364_1261011072
X-MC-Loop-Signature: 1616543048364:706673375
X-MC-Ingress-Time: 1616543048364
Received: from pdx1-sub0-mail-a52.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a52.g.dreamhost.com (Postfix) with ESMTP id C793288BE9; Tue, 23 Mar 2021 16:44:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=qAI9gbsnug0TLR v7Q/vg6tts65I=; b=A0LY5l/Nj8kq+Pg3CMTRiuSC045Aqij/7wqm99rDHjSpzX o8UGkIZgUVq4QNZNd8mf+FfvikzT0LrvT9vDZItz/ydCyjJdnBa7YPlKCEnEV/0P lzgFjZcBsTXPXp4WvlnMeCmODNhYKVAU3HDMbk157+5IcFy+MygNTGrJjThdw=
Received: from localhost (unknown [24.28.108.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by pdx1-sub0-mail-a52.g.dreamhost.com (Postfix) with ESMTPSA id EC8DA818D1; Tue, 23 Mar 2021 16:44:03 -0700 (PDT)
Date: Tue, 23 Mar 2021 18:44:01 -0500
X-DH-BACKEND: pdx1-sub0-mail-a52
From: Nico Williams <nico@cryptonector.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Cc: Eliot Lear <lear@cisco.com>, Toerless Eckert <tte@cs.fau.de>, LAMPS <spasm@ietf.org>, anima@ietf.org
Message-ID: <20210323234400.GV30153@localhost>
References: <20210318165455.GM8957@faui48f.informatik.uni-erlangen.de> <20210318183001.GN30153@localhost> <2113.1616093888@localhost> <718D80AD-8F12-4AA0-9D2A-2D8806B487C2@cisco.com> <20210320203655.GR30153@localhost> <B38811EA-335C-4BEC-800C-B88DDA44DE74@cisco.com> <20210322212842.GS30153@localhost> <22432.1616514563@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <22432.1616514563@localhost>
User-Agent: Mutt/1.9.4 (2018-02-28)
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/FB-mzMK5-mi75gg7snm4kd_LQSk>
Subject: Re: [Anima] [lamps] Long-lived certificates, but frequently renewed certificates
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Autonomic Networking Integrated Model and Approach <anima.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima>, <mailto:anima-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima/>
List-Post: <mailto:anima@ietf.org>
List-Help: <mailto:anima-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima>, <mailto:anima-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Mar 2021 23:44:14 -0000

On Tue, Mar 23, 2021 at 11:49:23AM -0400, Michael Richardson wrote:
> Yes, that's exactly what I'm after.
> We can, as you suggest, do this as an HTTP header in EST.
> It could also go into some new certificate extension, although it's rather
> more meta data, and it isn't clear it should get shared with peers.

Hmmm, but maybe it is worth sharing with the peers if they could alert
about a device with a yet valid cert that way out of renewal policy.

That could be an extension saying "holder is expected to renew every
$fraction of (notAfter - notBefore)".

Not that RPs should log _every_ time they see a peer with a certificate
that's out of renewal policy, but that it could be useful to warn when
doing so doesn't risk filling logs with useless information.

In a hospital, for example, devices could have a warning light for when
they need maintenance or when their peers need maintenance.

Nico
--