Re: [babel] HMAC Key rotation key format (was ripemd)

Toke Høiland-Jørgensen <toke@toke.dk> Mon, 26 November 2018 21:11 UTC

Return-Path: <toke@toke.dk>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2CF10130FCF for <babel@ietfa.amsl.com>; Mon, 26 Nov 2018 13:11:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=toke.dk
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 vNwGgHisYNAz for <babel@ietfa.amsl.com>; Mon, 26 Nov 2018 13:10:58 -0800 (PST)
Received: from mail.toke.dk (mail.toke.dk [IPv6:2001:470:dc45:1000::1]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8756A130FC8 for <babel@ietf.org>; Mon, 26 Nov 2018 13:10:58 -0800 (PST)
From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= <toke@toke.dk>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=20161023; t=1543266657; bh=JPPS96N5kvGlrNIMPS5fg95S6h88Z0Zc9IZTYvYskFY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=v5qujEitZOreq01sbcGuXSoKtkyJcGmRKMO5I8KRrp4lO3MGQMzINPifVzoNrEByn qXpBaDjxnIIhwFnhJXPsdWsaU+goIx+uos2VhSXhkM1XZadx4ShxjtFMZOz3ST6WTQ N5Kft7/tyala1Mnbvjw42+VpyxNayvvVpOJK5evws4yR3/P370yP8u77WBOC0FdtwO CVyRgo99hX5zHGorg4xr2XsJOZYkWOcLnn8UFQvsF5P+EXUwg3kPlQm1OmyTg3IM+B 8v26BMwRc83I4srOQZygB4+EiV+kmmyWQrysl62r4br1pnH+wW2DgYvAszlYJ72GvS KgymkJeJFuIxg==
To: Dave Taht <dave.taht@gmail.com>
Cc: Juliusz Chroboczek <jch@irif.fr>, babel-users <babel-users@lists.alioth.debian.org>, Babel at IETF <babel@ietf.org>
In-Reply-To: <CAA93jw6268QC1kmHEasJ-FbyXL_mgfQc_C-6cdksHd02ceb2Kw@mail.gmail.com>
References: <CAA93jw5fHRm21yEJsabiiOF1ZP7Zh3M_gEgRo0imBOpRGhf0qA@mail.gmail.com> <87in0koun6.wl-jch@irif.fr> <87in0kx98o.fsf@toke.dk> <CAA93jw5gaYgyUX-ABX156_TnFX25Sy5SLyuRgd28fMLfRW4UHA@mail.gmail.com> <871s78x7z0.fsf@toke.dk> <CAA93jw6268QC1kmHEasJ-FbyXL_mgfQc_C-6cdksHd02ceb2Kw@mail.gmail.com>
Date: Mon, 26 Nov 2018 22:10:56 +0100
X-Clacks-Overhead: GNU Terry Pratchett
Message-ID: <87k1kzwnmn.fsf@toke.dk>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/7HC8SptoamOgvoIKAcz_uGlboVQ>
Subject: Re: [babel] HMAC Key rotation key format (was ripemd)
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Nov 2018 21:11:00 -0000

Dave Taht <dave.taht@gmail.com> writes:

> To me this leaves the biggest problem remaining is key rotation. Me
> being me, and remembering just how hard it was to get dnssec working
> on systems lacking reliable time,

The Babel HMAC extension as currently specified does not rely on wall
clock time in any way, so not really sure how a comparison to dnssec is
relevant?

> Setting that aside for the moment, having a standardized file format
> for babel keys would be a boon and boost interoperability between
> bird/babel and other possible implementations.

>From the point of view of each routing daemon this would just make Babel
a special snowflake.

What we can do is to specify the format in the information model if a
cross-implementation format is really needed (which I'm not really
convinced of, either)...

-Toke