Re: [AVTCORE] Criticism on draft-ietf-avtcore-srtp-aes-gcm

John Mattsson <john.mattsson@ericsson.com> Tue, 20 May 2014 21:56 UTC

Return-Path: <john.mattsson@ericsson.com>
X-Original-To: avt@ietfa.amsl.com
Delivered-To: avt@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 123301A083E for <avt@ietfa.amsl.com>; Tue, 20 May 2014 14:56:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham
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 1PMPNIPkOLY1 for <avt@ietfa.amsl.com>; Tue, 20 May 2014 14:56:33 -0700 (PDT)
Received: from sesbmg23.ericsson.net (sesbmg23.ericsson.net [193.180.251.37]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 94F381A086A for <avt@ietf.org>; Tue, 20 May 2014 14:55:26 -0700 (PDT)
X-AuditID: c1b4fb25-f79226d000004024-83-537bcf4c102d
Received: from ESESSHC013.ericsson.se (Unknown_Domain [153.88.253.124]) by sesbmg23.ericsson.net (Symantec Mail Security) with SMTP id 53.64.16420.C4FCB735; Tue, 20 May 2014 23:55:24 +0200 (CEST)
Received: from ESESSMB307.ericsson.se ([169.254.7.232]) by ESESSHC013.ericsson.se ([153.88.183.57]) with mapi id 14.03.0174.001; Tue, 20 May 2014 23:55:23 +0200
From: John Mattsson <john.mattsson@ericsson.com>
To: Magnus Westerlund <magnus.westerlund@ericsson.com>, Florian Zeitz <florob@babelmonkeys.de>, "avt@ietf.org" <avt@ietf.org>
Thread-Topic: [AVTCORE] Criticism on draft-ietf-avtcore-srtp-aes-gcm
Thread-Index: AQHPXwYpNskqHZKVnUGwJcrAgJZRnZsgucWAgACOXYCAAHvrAIAoavaA
Date: Tue, 20 May 2014 21:55:23 +0000
Message-ID: <CFA194F7.1764B%john.mattsson@ericsson.com>
References: <53568695.7090509@babelmonkeys.de> <535924F1.8000709@ericsson.com> <53599C5D.1020206@babelmonkeys.de> <535A0450.5020600@ericsson.com>
In-Reply-To: <535A0450.5020600@ericsson.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.4.1.140326
x-originating-ip: [153.88.183.148]
Content-Type: text/plain; charset="utf-8"
Content-ID: <18F3238643033543A2BA5D7FD71DB90F@ericsson.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpmkeLIzCtJLcpLzFFi42KZGfG3RtfnfHWwwcI90hYve1ayW9ybP5/V gcljQm8ro8eSJT+ZApiiuGxSUnMyy1KL9O0SuDKe3KwuOGdXsb+tk72BscG2i5GTQ0LAROL2 gYssELaYxIV769lAbCGBo4wSb2+qdDFyAdlLGCU+vOwCS7AJGEjM3dMAZosI1EvsX3eBCcQW FnCWuNWygR0i7iLx7OAbFgjbTWLioW6wehYBVYknpx6D1fMKmEtM/nKWEWLBVEaJd/dnMYIk OAV0JOZ+gRjKCHTR91NrwGxmAXGJW0/mM0FcKiCxZM95ZghbVOLl43+sILaogJ7Eu+MwNUoS jUueAMU5gHo1Jdbv0ocYYy3x4MExdghbUWJK90N2iHsEJU7OfMIygVF8FpJtsxC6ZyHpnoWk exaS7gWMrKsYRYtTi5Ny042M9VKLMpOLi/Pz9PJSSzYxAmPt4JbfqjsYL79xPMQowMGoxMOr MKM6WIg1say4MvcQozQHi5I470UNoJBAemJJanZqakFqUXxRaU5q8SFGJg5OqQbGuKhG3elb 9bdMmfbki+mK3qxrv3+XzD1t9Ed64na2mwqaPRGLlJ5dMJk3g+s8w0P7ha2rjcRcC6fcdb16 NE1fKfhPuqRnWMLptISQcPubM65YzLxQOWOR/JyX580OBbquTtiX0FF3xXXaj/ufnnjKXV/x W+FSoZjH2tfu0zfrFTualLLo9izyV2Ipzkg01GIuKk4EABs0hpyWAgAA
Archived-At: http://mailarchive.ietf.org/arch/msg/avt/-aZB-mpuhQQuZyLjIurfEtlqW8Y
Subject: Re: [AVTCORE] Criticism on draft-ietf-avtcore-srtp-aes-gcm
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Audio/Video Transport Core Maintenance <avt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/avt>, <mailto:avt-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/avt/>
List-Post: <mailto:avt@ietf.org>
List-Help: <mailto:avt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 20 May 2014 21:56:36 -0000

A second opinion.
 

My view is that the current version of the draft makes good choices
regarding mandatory-to-implement (16 byte tags), optional-to-implement (8
and 12 bytes tags), and not specified (4 byte GCM tags).

 
And while older versions of the draft did not, the current version clearly
expresses the constraints that apply to GCM. As with ANY cryptographic
algorithm, developers need to read the specification carefully and follow
all the constraints and requirements given.

 
While GCM might not handle short tags as “expected”, it actually has
proven security levels where other algorithms have just “expected”
security levels.

 
GCM's combination of proven security with outstanding performance on
modern processors makes it a welcome addition to SRTP and other security
protocols.
 

Regards,

John

 

-------------------------------------------------------
JOHN MATTSSON
MSc Engineering Physics, MSc Business Administration and Economics
Ericsson IETF Security Coordinator
Senior Researcher, Security

Ericsson AB
Security Research
Färögatan 6
SE-164 80 Stockholm, Sweden
Phone +46 10 71 43 501
SMS/MMS +46 76 11 53 501
john.mattsson@ericsson.com
-------------------------------------------------------






On 25/04/14 08:44, "Magnus Westerlund" <magnus.westerlund@ericsson.com>
wrote:

>Hi Florian and WG,
>
>Please see inline.
>
>On 2014-04-25 01:21, Florian Zeitz wrote:
>> On 24.04.2014 16:51, Magnus Westerlund wrote:
>>> Florian,
>>>
>> Hello Magnus,
>> 
>>> I would like to point out one factual error in your criticism:
>>>
>>> The draft does mandate support for the longest 128 bit authentication
>>> tag if one support the cipher at all. This is a quote from Section
>>>13.1:
>>>
>>>    Any implementation of AES-GCM SRTP MUST support both
>>>AEAD_AES_128_GCM
>>>    and AEAD_AES_256_GCM (the versions with 16 octet AEAD authentication
>>>    tags), and it MAY support the four other variants shown in table 1.
>>>
>>> Similarly from 13.2 for AES-CCM
>>>
>>>    Any implementation of AES-CCM SRTP/SRTCP MUST support both
>>>    AEAD_AES_128_CCM and AEAD_AES_256_CCM (the versions with 16 octet
>>>    AEAD authentication tags), and MAY support the other four variants.
>>>
>>> But, to be fair this was changed very recently.
>>>
>> I'm admittedly a bit irritated, by you calling this my criticism.
>> Particularly after having pointed out I do not fully agree with it, but
>> am merely the messenger.
>
>Sorry, poorly worded to attribute it to you.
>
>> The parenthetical you refer to is my own analysis however. And in fact
>> it does appear I accidentally read the -10 version of the draft. I do
>> apologize for that mistake.
>> 
>>> I would also note that the draft's security consideration section do
>>> discuss the shorter than authentication tag length of actual
>>> authentication protection for AES-GCM.
>>>
>>> It is up to the WG to discuss if it thinks there should be any changes
>>> based on your input. And I have to ask you what you think should be the
>>> action based on your personal opinion.
>>>
>> I suspect you might be wondering why I'm bringing this up if I don't
>> fully agree with the criticism. The reason is quite simply that I still
>> believe in the IETF culture. In particular I believe that, unlike what
>> many media outlets are claiming recently, the IETF and its WGs are fully
>> capable of appropriately dealing with criticism, and not letting
>> themselves gag by any government agency. (I.e. in some way I'm trying to
>> prove a point here)
>> 
>> However, dealing with criticism is only possible, when it is actually
>> expressed towards the WG, which apparently neither Erich Möchel nor
>> Michael Kafka found necessary.
>
>Thanks for bringing it to the WG's attention. You are correct, that the
>WG needs to be made aware and have the chance to discuss and consider
>this.
>
>> 
>> I see two ways to address this:
>> Either the WG agrees with the criticism, the logical consequence of
>> which would be removing GCM from the draft.
>> Or the authors/WG explain why they believe this draft to be reasonably
>> secure, despite the criticism, and proceed with the current wording.
>> 
>> David McGrew choose the second option, and I'm personally content with
>> that. Hearing a second opinion from other WG members would be
>> appreciated though.
>
>I hope the WG participants are happy to review this criticism and
>consider McGrew's response as well as what the current version of the
>draft says in forming their own opinions, and hopefully state where they
>stand. If people have proposals for corrections or clarifications to the
>draft they can also be brought forward.
>
>>From a process point of view, as this document is currently in a
>publication has been requested state we can continue the WG discussion
>while the AD performs her review. The WG will have to form some
>concluding position at the end of the IETF review if not before.
>
>I would hope that people can provide their input into this over the next
>two weeks, i.e. by the 9th of May.
>
>Regards
>
>Magnus Westerlund
>As WG chair
>
>----------------------------------------------------------------------
>Services, Media and Network features, Ericsson Research EAB/TXM
>----------------------------------------------------------------------
>Ericsson AB                 | Phone  +46 10 7148287
>Färögatan 6                 | Mobile +46 73 0949079
>SE-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
>----------------------------------------------------------------------
>
>_______________________________________________
>Audio/Video Transport Core Maintenance
>avt@ietf.org
>https://www.ietf.org/mailman/listinfo/avt