Re: [babel] Some open HMAC issues

Toke Høiland-Jørgensen <toke@toke.dk> Mon, 02 July 2018 10:23 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 3D8EA130FDA for <babel@ietfa.amsl.com>; Mon, 2 Jul 2018 03:23:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, URIBL_BLOCKED=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 8mNuI4yTO75G for <babel@ietfa.amsl.com>; Mon, 2 Jul 2018 03:23:47 -0700 (PDT)
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 7954C131030 for <babel@ietf.org>; Mon, 2 Jul 2018 03:23:29 -0700 (PDT)
From: Toke Høiland-Jørgensen <toke@toke.dk>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=20161023; t=1530527006; bh=REWVk96KObNpgLwHmXG1XzcFHXi2vED0ACjfRz+GEsI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=k3rD91f4+N8xM1CSJ73nJkOTOufetpZ6yYHfKQ/syz555RhQGvXqzvwCo6W5CfZ/r /rJa5Mn+l9QFpH7x2O67DBelpmQjPx1g8z8FC+62qyDnJp2jU6nIVQ+5k2uBrbBT27 HVtqQ2i4qjW8OaVZn3d2LIG12wky/cbV+Xyo/GJiujjRyJQfrU81Fpr20lLyVOnWAa mtBNzy6MC/2CjpvhmKCf407gGEfJgAAREIeA9VUaVjFYE5NwaDv9yDSslb19Fw27Q/ v/96v/WqGB53spy0zMzxzD0zshgA+h/HuM2g9fI+gCfP4npkzCi/awbkNAb+QPNCw2 IJmDKhtogAHbg==
To: David Schinazi <dschinazi@apple.com>, Juliusz Chroboczek <jch@irif.fr>
Cc: Clara Dô <clarado_perso@yahoo.fr>, Weronika Kołodziejak <weronika.kolodziejak@gmail.com>, babel@ietf.org
In-Reply-To: <411E2C9F-A910-4899-8DD7-92C0C85EBC54@apple.com>
References: <87sh545st3.wl-jch@irif.fr> <411E2C9F-A910-4899-8DD7-92C0C85EBC54@apple.com>
Date: Mon, 02 Jul 2018 12:23:35 +0200
X-Clacks-Overhead: GNU Terry Pratchett
Message-ID: <87tvpihr6g.fsf@toke.dk>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/HYj5A3wHwwGBhHutHFWHljYk-b0>
Subject: Re: [babel] Some open HMAC issues
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.26
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, 02 Jul 2018 10:23:51 -0000

David Schinazi <dschinazi@apple.com> writes:

>> On Jun 30, 2018, at 06:04, Juliusz Chroboczek <jch@irif.fr> wrote:
>> 
>> 0. Explicit vs. implicit Indices
>> 
>> The discussion between explicit (DKC variant) and implicit (Stenberg
>> variant) indices is still open.  Just because we've made DKC code
>> available doesn't mean the WG needs to follow our idiosyncrasies.
>> 
>> (I'll try to find the inner strength to summarise the discussion at some
>> point.)
>> 
>> 
>> 1. Implemented and MTI HMACs
>> 
>> We've followed Denis' text, and implemented SHA1 and RIPEMD160.  Could any
>> security specialists please advise:
>> 
>>  - which algorithms should be implemented;
>>  - which algorithms should we propose to the WG as Mandatory to
>>    Implement (MTI)?
>
> I think SHA2-256 should be the only MTI, as it is considered secure and
> is widely available.

+1 on sha-256, but I think it might be worth considering blake2s as
well, since that gives smaller sigs and is specifically designed for
low-powered devices, such as mips-based routers :)

-Toke