Re: [Ace] [Emu] New Version Notification for draft-ietf-ace-wg-coap-eap-04.txt

Dan Garcia Carrillo <garciadan@uniovi.es> Fri, 26 November 2021 09:08 UTC

Return-Path: <garciadan@uniovi.es>
X-Original-To: ace@ietfa.amsl.com
Delivered-To: ace@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A1A7C3A0C43; Fri, 26 Nov 2021 01:08:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.751
X-Spam-Level:
X-Spam-Status: No, score=-3.751 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, MSGID_FROM_MTA_HEADER=0.001, NICE_REPLY_A=-1.852, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=unioviedo.onmicrosoft.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 Em_3_Pgghpec; Fri, 26 Nov 2021 01:08:14 -0800 (PST)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2058.outbound.protection.outlook.com [40.107.20.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 105C03A0C3E; Fri, 26 Nov 2021 01:08:14 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mJl2yRy/xKHXBDYDV10UfSabciFM5KchKs51TdL5u+C2EyR6T0Z0r41NWBiQrl4xKh5cVdgAOdRu8zGRZBcV3gugC1T1m6/VJ1vF3xgAaeU8kqvqdVr3evPnc81nRX16hxRMbyYjEE4JMauvkje8excNMONyl7DtUd/tTTj/OCQ/dARVPFxk7f85sEWs7W34xdOAt245jxqqMxZ9ToJciPckbmldrqIF3OIJJgQvLPkSr20ukESNVIys4PXjInse29pac06EWrhCdzHB6HHMCWjZNcIvkUP6d0OxvNRRVUPMer2rNGNgPZy+zt21wdmSaoMQbPgvLc70Ba4rMzyQgA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wh2BmaxP5Bj2V/p8EsQSoLj9SZIHICw3R7/LNq304JY=; b=Nd2zCmm1N10SAoTWnwJI6jv6gassz9E2oZmaPqB9hqSijELfnE/sNDhcBzgpi7QfCYUW4EYQ+ApriEHFjDWv5yl+CwWziGsYVytWholeSr0QeXOWNmB3r0slAIlXRXe1s11xmcpdw8APdMtqanjFz67bFOvnxMjy2XXvS0G5LV9NggLbppkBx36nJG5FjsA+onpI5pDDefKQmeSDnJFMbpXIYnVOb15l+RucYAcHXBEaEkGpEWVBc8tZiI/lk5dOIWT7YH8bzafwuy5J4Z172fQm40wdo/BnbjIn3dzCDl/lNipVnWHQ3B8ayJ4/GRkISm8zUPY17Qe1fojwa5TgGw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=uniovi.es; dmarc=pass action=none header.from=uniovi.es; dkim=pass header.d=uniovi.es; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unioviedo.onmicrosoft.com; s=selector2-unioviedo-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wh2BmaxP5Bj2V/p8EsQSoLj9SZIHICw3R7/LNq304JY=; b=VlsIrs2nRdQVprvFU1WdFRLwo2gU8bvUUI9XGHXJXXQz05o2lm7C8IX+aM2+dcWkUZvCCl0FhOjPXdI42uYQKqVMfwEZI2lJdoBUU1FUa+G/fCo7aSPYXxYZA5uMSbUVpZqKYCHFmjI4ephMJ6hL6IyFwnGY4TXsVoHyq6vSayQ=
Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=uniovi.es;
Received: from DBBPR08MB6202.eurprd08.prod.outlook.com (2603:10a6:10:209::9) by DB8PR08MB5241.eurprd08.prod.outlook.com (2603:10a6:10:e2::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.20; Fri, 26 Nov 2021 09:08:10 +0000
Received: from DBBPR08MB6202.eurprd08.prod.outlook.com ([fe80::1434:d823:a6b5:6f50]) by DBBPR08MB6202.eurprd08.prod.outlook.com ([fe80::1434:d823:a6b5:6f50%7]) with mapi id 15.20.4713.027; Fri, 26 Nov 2021 09:08:10 +0000
Content-Type: multipart/alternative; boundary="------------ek9hA6T2RgeEHr0Kxj04gqvm"
Message-ID: <333a55e7-5611-8b8f-bf2d-7f1e14c68e6f@uniovi.es>
Date: Fri, 26 Nov 2021 10:08:08 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.2
Cc: garciadan@uniovi.es
To: John Mattsson <john.mattsson@ericsson.com>, "ace@ietf.org" <ace@ietf.org>, EMU WG <emu@ietf.org>
References: <163516103436.11405.13911066633297545379@ietfa.amsl.com> <bc792146-39c4-73a3-63e2-7db7acf7aa2f@uniovi.es> <HE1PR0701MB3050A49DC2D32180B2831D6889839@HE1PR0701MB3050.eurprd07.prod.outlook.com>
From: Dan Garcia Carrillo <garciadan@uniovi.es>
In-Reply-To: <HE1PR0701MB3050A49DC2D32180B2831D6889839@HE1PR0701MB3050.eurprd07.prod.outlook.com>
X-ClientProxiedBy: LNXP265CA0005.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5e::17) To DBBPR08MB6202.eurprd08.prod.outlook.com (2603:10a6:10:209::9)
MIME-Version: 1.0
Received: from [IPV6:2a0c:5a80:3c13:f000:589f:2891:1b30:6314] (2a0c:5a80:3c13:f000:589f:2891:1b30:6314) by LNXP265CA0005.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.22 via Frontend Transport; Fri, 26 Nov 2021 09:08:09 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 8aebc0a8-160f-4399-6fc5-08d9b0bc44a6
X-MS-TrafficTypeDiagnostic: DB8PR08MB5241:
X-Microsoft-Antispam-PRVS: <DB8PR08MB5241DCF667D924F8B7D4B798B4639@DB8PR08MB5241.eurprd08.prod.outlook.com>
X-MS-Oob-TLC-OOBClassifiers: OLM:10000;
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: M9XRwQjE/llO7hsjjxRrN/jEXb+icpdX+TRkBAcFc0882LMvLKYi7oSaDU8j8r/CBbhxsddbaDMCUA2ROXnKls2jMnhAvReFfufLRdQPji+3u31U4hvT8GO6Y+bLVvWQOvPDWLURJNMhNSKpSzLWADPdQBWQ0vVRvw/GG/P6zEFCJq2peSF5DfaqH1JBXsVlkG0oaB40tJEQTtlZL6FkS2W3XBEKDd+FwlmpjMmXFPmxdff41Jn9wbfulOVuy/kP8F3384Y0u+DXxry13m0MNAVEF7Fn8nZugtxAC+Ge3tirbblbwayn8aGvMtB6y+w3RkMCVHUgdGNeG32xnC+61j+0JjjK4VbQz45kkf3uNeXoxIN4gEvRkWjPoOKDE/eXJXUR1r/7pf1GmA6D0v0xmuzQ6pUqk/VB6JHUn3QxhBsGC6+sy6KM31ZutBLY+XxLrtWlQtnCpvZM0ODiFWpWgRvL+8pS73Xd75GrJNpr2Ld0LSHZ2aI04gU1bcXOy+A43OtSNgmXjj4hvneeaDcpKhUpvQWiudEfrg/w0jpHrfvhNZw/lGKVNlF13iKhAr/0hnEV4HTPf+1qk8BXcyOVXO0hcwCe7dsCqQ/XPQzjx6/mHGtmJuOBeE7Ekn7pI3u+9a4VfOjO9i03mGXRnNv5O7Gh0baWn4JnMNQiLQ+vj0PDCw930dvEtag5U8cDEIgp3ZrXqZggz79pWroUyZhAijzxoa908C4axupwtIx2S4OB00J9cCIgql1QYbtx+GGSFtYEXYQYAuwHG8CMDJgLKLeqtmJFJf7kBZ7S+MV19GPNw8IOt9bgwhI+nSY/RTrN
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBBPR08MB6202.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(4326008)(30864003)(31696002)(83380400001)(110136005)(316002)(786003)(36756003)(38100700002)(2616005)(86362001)(2906002)(508600001)(8676002)(31686004)(15650500001)(66476007)(66946007)(66556008)(966005)(107886003)(53546011)(8936002)(186003)(52116002)(66574015)(33964004)(5660300002)(4001150100001)(6486002)(166002)(45980500001)(43740500002); DIR:OUT; SFP:1101;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: oP10B9gK9dYNxWxy6Ts8zeqR+5f/bIOev/FlbPzBWGIaCuo8XXjb1fOdCMhTcv8d4eC7qCg38l/5Rp769oOZLrEzUEhkTO/kwPQm6aixlCsATGRYnmxZ1+fq5uhLLizIC5+c7fbxb4xMSr0pBVqJzvORvCWAPZThW/X7PoAMy80AXm4PaVgNjxYC0Hp4kP8Fx3rnu5g+7z0i+a3oTRHNQwnV1ZSMULBbp46/kP3LWsM0nuxuQCubzklLFuoWya4ic3oSuDzyA8xsKbEcGWQn+YNKbYmG8N4RyKuaxXxcuL4JkyYrLAP0N+NgFZGtkiWChISs8bU3E4dpE4EXFm1DHOQCJV2N0OvXL1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4ltNtwHYXebmDqNb9F/lmJ8FoVROLDkrPZjKMNF46+FNs4ee1oLqqxGhB32m3qTeSbtx1vmp0WUTr9QKAnvUPQSs3F9KrQPtL5A2KLRrWnG1Stvlkb31YGsf+Blr8MrrRo3rPCxN7OlWyVf1+lIZ7vf8lm+4/HjXGegs3UjN2p9AJjaihiEv5eQQLjCf+niu+ItTyDjKLhGt3Dyaq2CSGlN3sypQnnHQDs4ry9fO5nMoZ0U52EVOwfR2bpEBDhaFKE369M=
X-OriginatorOrg: uniovi.es
X-MS-Exchange-CrossTenant-Network-Message-Id: 8aebc0a8-160f-4399-6fc5-08d9b0bc44a6
X-MS-Exchange-CrossTenant-AuthSource: DBBPR08MB6202.eurprd08.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2021 09:08:10.3277 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 05ea74a3-92c5-4c31-978a-925c3c799cd0
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: z3dYdfr+Fsg6tuuCqw1zO0TWfv0tu5EMEJUtfQgzObMM6bM2hP9zn4oPcJqYsRj60bRG8pdjg8b2mG7LBeVeNg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5241
X-MS-Exchange-CrossPremises-AuthSource: DBBPR08MB6202.eurprd08.prod.outlook.com
X-MS-Exchange-CrossPremises-AuthAs: Internal
X-MS-Exchange-CrossPremises-AuthMechanism: 06
X-MS-Exchange-CrossPremises-Mapi-Admin-Submission:
X-MS-Exchange-CrossPremises-MessageSource: StoreDriver
X-MS-Exchange-CrossPremises-BCC:
X-MS-Exchange-CrossPremises-OriginalClientIPAddress: 2a0c:5a80:3c13:f000:589f:2891:1b30:6314
X-MS-Exchange-CrossPremises-TransportTrafficType: Email
X-MS-Exchange-CrossPremises-Antispam-ScanContext: DIR:Originating; SFV:NSPM; SKIP:0;
X-MS-Exchange-CrossPremises-SCL: 1
X-MS-Exchange-CrossPremises-Processed-By-Journaling: Journal Agent
X-OrganizationHeadersPreserved: DB8PR08MB5241.eurprd08.prod.outlook.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/NVZ9qZn6dTFMHnT4yVWAR0POM30>
Subject: Re: [Ace] [Emu] New Version Notification for draft-ietf-ace-wg-coap-eap-04.txt
X-BeenThere: ace@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Authentication and Authorization for Constrained Environments \(ace\)" <ace.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ace>, <mailto:ace-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ace/>
List-Post: <mailto:ace@ietf.org>
List-Help: <mailto:ace-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ace>, <mailto:ace-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Nov 2021 09:08:19 -0000

Dear John,

First of all, our apologies for the late response to your review, for 
some unknown reason we did not see it at the time. It is much 
appreciated and we will try to answer you  as soon as possible.

Best Regards,
Dan.

On 25/10/21 17:02, John Mattsson wrote:
>
> Thanks,
>
> I think this is a very useful mechanism and a well written draft. Some 
> quick comments.
>
> - "ciphersuite"
>
> Note that both TLS and EDHOC spells this with space "cipher suite"
>
> - Section 2. I don't understand what "SM" in Figure 1 is an 
> abbrevation for.
>
> - Section 2. "UDP/TCP/Websockets" Why is the Websocket protocol in plural?
>
> - Section 3. "EAP method that exports cryptographic material"
>
> This can probably be reformulated in terms of MSK, EMSK or "Key 
> derivation" which
>
> is the property that RFC 3748 uses.
>
> - "EAP-MD5 cannot be used since it does not export key material"
>
> MD5 should really not be used at all for security resons. Highlighting 
> it like this might
>
> be the idea that it would be ok if EAP-MD5 had the "Key derivation" 
> property.
>
> - "The required key, the Master Session Key (MSK), will be available 
> once the
>
> EAP authentication is successful."
>
>    Does this belong in step 2?
>
> - In Figure 2. I do not think you have to wait until EAP-SUCCES to 
> make MSK available.
>
> The authentication can be successful before EAP-SUCCES.
>
> - In section 3.3. it might be good to state that "Reauthentication" 
> might be needed to rekey MSK/EMSK and to increase protection against 
> key leakage.
>
> (An important mitigation of pervasive monitoring is to force attackers 
> to do dynamic key exfiltration instead of static key exfiltration. 
> Dynamic key exfiltration increases the risk of discovery for the 
> attacker [RFC7624]. While OSCORE will soon be augmented with a 
> rekeying mechanism with forward secrecy, attackers can still get away 
> with doing static key exfiltration. This is similar to TLS 1.3 with 
> KeyUpdate, after leakage of application_traffic_secret_N, a passive 
> attacker can passively eavesdrop on all future application data sent 
> on the connection including application data encrypted with 
> application_traffic_secret_N+1, application_traffic_secret_N+2, etc.)
>
> - "4.  The values from 65000 to 65535 are reserved for experimentation"
>
> what does "The values" refer to? Lifetime? In that case it would fit 
> better under 3.
>
> - In addition to AES-CCM-16-64-128, only ciphersuites only cipher 
> suites with AES-GCM is included. My feeling was that most IoT people 
> are more interested in ChaCha20-Poly1305 than AES-GCM. I don't have a 
> strong personal opinion.
>
> - "which is considered fresh key material"
>
> “considered fresh”? Maybe "uniformally random"?
>
> - With normal use of DTLS, Appendix A violates “The CoAP-EAP operation 
> is intended to be compatible with the use of intermediary entities 
> between the IoT device and the Controller”. This limitation should be 
> clearly stated.
>
> - Probably good if the labels have “CoAP-EAP” in all the labels to 
> guarantee that they do not collide with anything else.
>
> Cheers,
>
> John
>
> *From: *Emu <emu-bounces@ietf.org> on behalf of Dan Garcia Carrillo 
> <garciadan@uniovi.es>
> *Date: *Monday, 25 October 2021 at 13:27
> *To: *ace@ietf.org <ace@ietf.org>, EMU WG <emu@ietf.org>
> *Subject: *Re: [Emu] New Version Notification for 
> draft-ietf-ace-wg-coap-eap-04.txt
>
> Dear ACE and EMU WG,
>
> We have submitted a new version of the draft (draft-ietf-ace-wg-coap-eap)
>
> This version provides information on the different comments, from the
> reviews and interim meetings.
>
> Best Regards.
>
>
> El 10/25/2021 a las 1:23 PM, internet-drafts@ietf.org escribió:
> > A new version of I-D, draft-ietf-ace-wg-coap-eap-04.txt
> > has been successfully submitted by Dan Garcia-Carrillo and posted to the
> > IETF repository.
> >
> > Name:         draft-ietf-ace-wg-coap-eap
> > Revision:     04
> > Title:                EAP-based Authentication Service for CoAP
> > Document date:        2021-10-25
> > Group:                ace
> > Pages:                29
> > URL: https://www.ietf.org/archive/id/draft-ietf-ace-wg-coap-eap-04.txt
> > Status: https://datatracker.ietf.org/doc/draft-ietf-ace-wg-coap-eap/
> > Htmlized: 
> https://datatracker.ietf.org/doc/html/draft-ietf-ace-wg-coap-eap
> > Diff: https://www.ietf.org/rfcdiff?url2=draft-ietf-ace-wg-coap-eap-04
> >
> > Abstract:
> >     This document specifies an authentication service that uses the
> >     Extensible Authentication Protocol (EAP) transported employing
> >     Constrained Application Protocol (CoAP) messages. As such, it
> >     defines an EAP lower layer based on CoAP called CoAP-EAP.  One 
> of the
> >     primer goals is to authenticate a CoAP-enabled IoT device (EAP peer)
> >     that intends to join a security domain managed by a Controller (EAP
> >     authenticator).  Secondly, it allows deriving key material to 
> protect
> >     CoAP messages exchanged between them based on Object Security for
> >     Constrained RESTful Environments (OSCORE), enabling the 
> establishment
> >     of a security association between them.
> >
> >
> >
> >
> > The IETF Secretariat
> >
> >
>
> _______________________________________________
> Emu mailing list
> Emu@ietf.org
> https://www.ietf.org/mailman/listinfo/emu
>