Re: [babel] Comments on the MAC authentication for Babel draft

Donald Eastlake <d3e3e3@gmail.com> Thu, 27 August 2020 20:41 UTC

Return-Path: <d3e3e3@gmail.com>
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 3FD0F3A12DF for <babel@ietfa.amsl.com>; Thu, 27 Aug 2020 13:41:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.848
X-Spam-Level:
X-Spam-Status: No, score=-1.848 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_ENVFROM_END_DIGIT=0.25, 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 4sZryQ2S0l0p for <babel@ietfa.amsl.com>; Thu, 27 Aug 2020 13:41:29 -0700 (PDT)
Received: from mail-il1-x12b.google.com (mail-il1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) (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 F12D53A12E0 for <babel@ietf.org>; Thu, 27 Aug 2020 13:41:28 -0700 (PDT)
Received: by mail-il1-x12b.google.com with SMTP id q14so6038464ilj.8 for <babel@ietf.org>; Thu, 27 Aug 2020 13:41:28 -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:content-transfer-encoding; bh=hYk6yLRyOmQyDI3VXGyDW57BqV+EFSAvzoaqSz/c6Fc=; b=c/2p3Ek/kMqv5v8y5NmeA2c+pICnzMCGsEj9Gdaoicpu3WC/22rcS0wbBANjmX+jeY qQqNBuePFyKufP932SYiYQjPvyT8BZLw07SaHJVkwodYrYu3BevcSqqdciIzXE4eGNkI 3Pxa8oM8BLtN/NdTeiFMDsFrJLjuIoB+ztqNbmzOnhWlg2QeuNgs5aVnWX6rQ0yy9RwM gIxIyuVK1/60uRy4tk/enYL08vYAKB4YCnP3I5hJCSXLL30LrtPq2+xh3RpE6Y5I+Nbq 8g/A04GaPZq43UPuprM+T4nYsuwmebFssaglcrxhVEsRjh6rv2kGZ2SPSese6XLSBpw/ OmCQ==
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:content-transfer-encoding; bh=hYk6yLRyOmQyDI3VXGyDW57BqV+EFSAvzoaqSz/c6Fc=; b=Eai3j3s4oJrfWLhongBXOm6qFDeOZ3n4U4hzwXJzqQzzlSud4GlOlB8R4ooR6sBnqP 8fxYDn3VQ/ST7IkiAGmJjj2vzYJnn6h+vUbTejC50vI4bg4Tqrdp+iTdWa67g86GQ+T+ xxhQoTshbo67fzDxPaudzAWysor2S54b94P1yMZX+j5ia/GKargnHwNjHZrqEwbysgHa ibJrFJsSU9+RuHFjA7uxhWhSL+p/L3+9d19n/LuvDzVwi1i/aUugqY2wwUL73ul8d8tV Pxoky/JGwr5e30yyz8TGLukE9A71+SesDHhGqEAeL86eoAbNRfrAp66N1QDqPSkIJcGM YNWw==
X-Gm-Message-State: AOAM53298Z7wmWWMaMKG3di0ESn+htWBaDMCY1ByjX0PUZzOLNNi2Xmt 8W3usmQ2dNT98fWIGGNRLMgppXLUd35Z2WsNvyvDrL/XBig=
X-Google-Smtp-Source: ABdhPJxjzVZPtHKTMwcMW2EBGT4EgXNZcy1S0/8zIAzDd8bQIuF+wTqC0lYQFxqToM8HI5QfPL9f6BDDK9XAvza84YE=
X-Received: by 2002:a05:6e02:12a3:: with SMTP id f3mr19686634ilr.83.1598560888210; Thu, 27 Aug 2020 13:41:28 -0700 (PDT)
MIME-Version: 1.0
References: <CAC=54B+aJAZ3KhSUAjJyXiAujzHarRCDYXcERLx3gkHswJ6Sgg@mail.gmail.com> <87zh6hem9u.wl-jch@irif.fr> <CAF4+nEFjYVQeZtAyJsQWXTpgVe6gDPodqHG4YLF8PwjeNq+4Eg@mail.gmail.com> <873648meil.wl-jch@irif.fr>
In-Reply-To: <873648meil.wl-jch@irif.fr>
From: Donald Eastlake <d3e3e3@gmail.com>
Date: Thu, 27 Aug 2020 16:41:17 -0400
Message-ID: <CAF4+nEGje1cJY0V7yXKw2fk-h-Fg_hsO+DzD3LAT9SvSogdGEw@mail.gmail.com>
To: Juliusz Chroboczek <jch@irif.fr>
Cc: Antonin Décimo <antonin.decimo@gmail.com>, Babel at IETF <babel@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/qdPzZ8AqhWuO0sD5IdLhQr1TjCU>
Subject: Re: [babel] Comments on the MAC authentication for Babel draft
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: Thu, 27 Aug 2020 20:41:30 -0000

Hi Juliusz,

On Thu, Aug 27, 2020 at 8:58 AM Juliusz Chroboczek <jch@irif.fr> wrote:
>
> >>> 4. Accepting Challenges
> >>
> >>> When receiving a challenge reply, a node must check if there was a
> >>> challenge in progress before validating the challenge.
> >>
> >>> However the text does not explicitly describe if there are changes
> >>> to be made to the overall state when the challenge succeeds.
>
> >> Right.  The obvious implementation strategy is to discard the challenge
> >> state after a challenge has succeeded.  Not doing that does not cause any
> >> security issues (it's not required by the proof of correctness).
> >>
> >> I think we should add « SHOULD discard the state » here, but it requires
> >> Donald's permission.
>
> > I think adding this "SHOULD" would be too much of a change. In principle it
> > doesn't require my permission, it requires Martin Vigoureux's permission since
> > the draft is out of the WG and in the IESG.
>
> Shall I ask Martin?

You are welcome to do so if you want.

Thanks,
Donald
===============================
 Donald E. Eastlake 3rd   +1-508-333-2270 (cell)
 2386 Panoramic Circle, Apopka, FL 32703 USA
 d3e3e3@gmail.com

> > Since it doesn't affect correct operation, I would suggest just creating a
> > draft-ietf-babel-hmacbis-00 draft and putting it in that.
>
> I'm not volunteering.
>
> -- Juliusz