Re: [MMUSIC] late dtls-id request

Martin Thomson <martin.thomson@gmail.com> Thu, 09 March 2017 07:15 UTC

Return-Path: <martin.thomson@gmail.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0A4A9129412 for <mmusic@ietfa.amsl.com>; Wed, 8 Mar 2017 23:15:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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 gdR9BrxSZN2s for <mmusic@ietfa.amsl.com>; Wed, 8 Mar 2017 23:15:08 -0800 (PST)
Received: from mail-qk0-x236.google.com (mail-qk0-x236.google.com [IPv6:2607:f8b0:400d:c09::236]) (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 B1C63129406 for <mmusic@ietf.org>; Wed, 8 Mar 2017 23:15:08 -0800 (PST)
Received: by mail-qk0-x236.google.com with SMTP id p64so106200340qke.1 for <mmusic@ietf.org>; Wed, 08 Mar 2017 23:15:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=4Y3rToVTJQdxNuFEk/NzCqwkKZiQcfsNhPaVC+UBN3Q=; b=CM6TBFTT4aVf8teoj/k88u/439JzjUEW3yy1SG8ArojDkPrf0zRFN7Oy/WBpyVGUSR 5webbER/sAh2Y+AXI68d8mSwBBu2JGbJmz/FweJow8GALHHCoZMphqhnNliRTl/y2jlM Y2mKsjPah8j+MURoGFekpWBXEkZxeg2pqhZ25sPcGTG2rnPOzUCW4gqNiKP267rr+yWu +lWjWD2C56jepMZcxZDr4+jpD0pKE85mc6K3T1Op3OW6k7f0lGaKFsxaffDX0MJaTg2i +Ih0S6E6ssHRqUUMprC90bI6X/s6uhOaC8tr2UOKJzCZwfqlEUWQchkLB0FLD7BN+56+ gQSA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=4Y3rToVTJQdxNuFEk/NzCqwkKZiQcfsNhPaVC+UBN3Q=; b=L1Z2rCda8UOL+oodvSNgksKg0NTNCoHPwzMR04rLPboS+SS7lkgw0dUk2MVvedsf8C 5xRYJon/0fz/81zv65/VJYRP/DorjRbAiGrhGySOS9GAzFavstTCF1lJNEvQ5kfk+8eg pWwc2HrVXDrdDrvy3eja/d2yvUgc1Jj9f3rTArMnjbMnxGztY5OQcOov2moVjit3zQUy LE0znw+3PIINm95dJ8VWfnn5X4J1R6YYKG8WH+Oy5mInMCvLYgJAVk0rQh8xC2VazKxU 2INLp+38Hq2kSPAhkCqALNUWspX6W0s26tBIOhjPUkZ00ps2aX8ltxLzi2iVsSZkp40F hHhA==
X-Gm-Message-State: AMke39kR47WyFyc5LJLVurRpy8rI2zaNkZSgkZLTx7c7bIC5Mihjf5aGPRHkEG/wpQA5R0DcmWDMvLzN/qciFQ==
X-Received: by 10.237.41.100 with SMTP id s91mr13309966qtd.143.1489043707869; Wed, 08 Mar 2017 23:15:07 -0800 (PST)
MIME-Version: 1.0
Received: by 10.140.19.112 with HTTP; Wed, 8 Mar 2017 23:15:07 -0800 (PST)
In-Reply-To: <D4E6C8D1.19099%christer.holmberg@ericsson.com>
References: <CABkgnnWz52xL2AzZ1j-GLhKd4+xHJD+zng-2AvhT95Dr1Djkug@mail.gmail.com> <D4E6C3C6.19093%christer.holmberg@ericsson.com> <D4E6C8D1.19099%christer.holmberg@ericsson.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 09 Mar 2017 18:15:07 +1100
Message-ID: <CABkgnnV+83z1W=8zDoxoxfX1RcQ_z1-9SbQqyT2rNrTNsKOp4w@mail.gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/vJ-LPhftTHtAIoy66OjQNwt4GOI>
Cc: "mmusic@ietf.org" <mmusic@ietf.org>
Subject: Re: [MMUSIC] late dtls-id request
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mmusic/>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Mar 2017 07:15:10 -0000

On 9 March 2017 at 17:57, Christer Holmberg
<christer.holmberg@ericsson.com> wrote:
> But, I assume we can make that assumption also with 255.

For that, 20 would be plenty.

Note that you only require 32 bits of randomness (which fits in the
minimum of 6 characters), which is not quite enough to provide
global-scale uniqueness.  20 pretty much is going to do that (assuming
6 bits per character, which base64 would allow).

FWIW, I would be happier if you moved the 32 bit requirement to 120
and raised the minimum to 20, but that's a much bigger change.