Re: [COSE] COSE Support for AES-CTR and AES-CBC

"Zundel, Brent" <brent.zundel@avast.com> Thu, 27 October 2022 15:43 UTC

Return-Path: <brent.zundel@avast.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DE66EC14CE3D for <cose@ietfa.amsl.com>; Thu, 27 Oct 2022 08:43:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.679
X-Spam-Level:
X-Spam-Status: No, score=-7.679 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.571, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=avast.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GaXPWuFa4MZf for <cose@ietfa.amsl.com>; Thu, 27 Oct 2022 08:43:57 -0700 (PDT)
Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C32C3C14F74E for <cose@ietf.org>; Thu, 27 Oct 2022 08:43:57 -0700 (PDT)
Received: by mail-pj1-x102c.google.com with SMTP id h14so1914515pjv.4 for <cose@ietf.org>; Thu, 27 Oct 2022 08:43:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=avast.com; s=google; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=4Khz0xPoc9wNiq/VmzDN8C+dZCBLCHAVnlg4hVTf7qU=; b=Pjto1OCm1MtSP3tJjBJCiQjkT9E7cF1/m0F1yByvbZJILCHBaCM+HQrYYRHYPN4lCA YXvZ0SlPDil7ucUAm35eRE1ZeekA9a9o0wpzJokBowPtkKQ9TijLdsPU+kLAKejGugWb FonE19hQ02eb+z9kA7rNiQbBeW6D8udFRHOZU=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=4Khz0xPoc9wNiq/VmzDN8C+dZCBLCHAVnlg4hVTf7qU=; b=vfdo9DA4bX83YfRwWtMjHMR6Y/5mY1xzQywZXC6Tp+a7iZhOR+nMxgJHxDgEOtv46N n3JTjqvmqDFeKe1bN2PAgB6rrLGHfqu11EJz37jDhVR5n7zlYHhfKLBS7nJzDqMNltBR 5U0lfQdytmy1nNDo+uw3iC0EjrqXutbohIjiTgaEm8y3o27khkw+lAcKH0B49JenXjjN d5lQ9oy7mNOYTwto6fsENLVTafTQqYqnYEEjmmACR0f+I7/pgduWKExxzo5qGYIAcELU SKfRZjyVEi5UR4LPenx1lrjgEySgc4fc7SAwUwaJMhS7fqYBYLqX0s7ZjJEsb0+CJp6i zDQQ==
X-Gm-Message-State: ACrzQf1cVAi4hdn4K8vtBaEp7/5YKizK9CWviQrHzcUWoZwzeamPrf/Y Pua4Yn/1od1W7QbyRjuJdBV8oeTLax4a6Is7jE6rWUJ9LA9C5g==
X-Google-Smtp-Source: AMsMyM5Xxz8b14I9EhQMeyWz2NH8b/HlW3hlEunxaqVuelTwoWIgHHUHIpk+qyFrzJ6GH4PuhzDf5/SHPCWG452bJOA=
X-Received: by 2002:a17:90a:6394:b0:212:f19e:16a3 with SMTP id f20-20020a17090a639400b00212f19e16a3mr10919495pjj.231.1666885436995; Thu, 27 Oct 2022 08:43:56 -0700 (PDT)
MIME-Version: 1.0
From: "Zundel, Brent" <brent.zundel@avast.com>
Date: Thu, 27 Oct 2022 09:43:46 -0600
Message-ID: <CAGi82uNOmJJdO2HKcE8M491Vv_PLgk8J8vvfsEE88CMZkmALmw@mail.gmail.com>
To: cose@ietf.org
Content-Type: multipart/alternative; boundary="0000000000005b312505ec06021f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/yZII7XgHL8gnBPxoK4Fs0sCuFbo>
Subject: Re: [COSE] COSE Support for AES-CTR and AES-CBC
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Oct 2022 15:43:58 -0000

Having only recently become aware of this thread, I apologize for the
lateness of this, but feel compelled to share my concerns as well.

While it is true that AES-CTR and AES-CBC have been included in RFCs for
years, I would like to direct the attention of folks to the IANA registry
for JOSE, where AES-CBC and AES-CTR are marked as 'Prohibited' for JOSE
Implementations.

I don't understand going to the effort of defining AES-CTR and AES-CBC for
CBOR when these modes are already recognized elsewhere as bad enough to
prohibit.

-- 
Brent Zundel
Principle Crypto Engineer - Avast