[OAUTH-WG] Re: Call for adoption - PIKA

Tom Jones <thomasclinganjones@gmail.com> Wed, 03 July 2024 15:53 UTC

Return-Path: <thomasclinganjones@gmail.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B2CF6C14F5FB for <oauth@ietfa.amsl.com>; Wed, 3 Jul 2024 08:53:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.106
X-Spam-Level:
X-Spam-Status: No, score=-7.106 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_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 b5WY_OPa_gsR for <oauth@ietfa.amsl.com>; Wed, 3 Jul 2024 08:53:41 -0700 (PDT)
Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) (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 B8345C15106B for <oauth@ietf.org>; Wed, 3 Jul 2024 08:53:41 -0700 (PDT)
Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a72aeb3bda2so69556266b.0 for <oauth@ietf.org>; Wed, 03 Jul 2024 08:53:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720022019; x=1720626819; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=FMzVIr/tAJZtnnr4hPWoGhCDJ7qk/KEsddDcEuFcv/E=; b=IShGqciNY/d+lUbHGT+LfMyXtr+PnTqpFvh/pvNOYA8sYPjE/YIrdNhYoLeZXrc2WZ Vvgfhw1RL0t0oIHk6UaZ7tiNI388jUH4FlEJC6NnNXs3qhNNLzTMPYi4qMafRIh2ReI2 17rGO63OhlgpEXsCkDWumq4l2/C2XBauQHc/qxZ9FtnJU5cbdtlPiSfGoDahDTTsK8QO lt5Xl6ORbJ5TPUAo/bvUEuv8zLjKyNoP6xtS4kV8afAr4QxkP290CeOK41r/AMaAQ0tu OBFLpUcH62ynbDTFeSg3xyAenVT2mutMpgYOz3w4kj7ViST1Hm/5H7O2DDzEiyHEpSKq Zhwg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720022019; x=1720626819; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FMzVIr/tAJZtnnr4hPWoGhCDJ7qk/KEsddDcEuFcv/E=; b=aMgGiPOLQYcQrPhIANzBasuPGsUnuh8YRVaUQEWWtWdDYi5TN6vmjUqxZWC0WVzzTs YfmzxUeIiW8bvAtPKwkuBN3Ki/zHPXi22cZF1a9W0gxHlSM6lkKsomvlXnsXnbjxP7VN DjK/Wj6X9jlCyETCdo5FtyjK7nqT8W6tOD7wSswwJqALVA9IpjlqgpVtB5Z3OCVa5TpZ qh4D5RGZamiP9GvAFC2QA2DA3zFa52DQFn7Lrk2B/2oKhCwBHnWY/TwkzR/C3YqkK3Rq WDns4NUycP16YnN8t0XzR+MNN7vJV7BB/XhNmTO2Dz2B7mRldERKNH2OBNESoKTgZrdy XuEg==
X-Forwarded-Encrypted: i=1; AJvYcCW8qCDu2EtGhQf1brxXbdMTh+JTEfhfMP2eS8jHYotPhK89oUFtVCSXnuRZOCmu2GMjmjm/Z9gV5JtZewTVCQ==
X-Gm-Message-State: AOJu0YyZIzKEbGCpqMNCDKGi4u5A4pVVBoa6L0cBMDYUY/I5OsLVuXET TrVZgSLZC1lX93+ka1L5AFK9wUjC/gHQ2wcvvHOZYLLVGcIjJlvBjzCcUoxVpGuQDF/dc0GeRXu /t4y0Yx3boiUmxVUodRQGSu7WoXmBFg==
X-Google-Smtp-Source: AGHT+IE7k6ulWvWRxo/wiEW05slqoIJci5nbDxUTFUs5H5Gp5nHlsq4uU//ngUSLFd+7/0AVAyqa5EIqBUarCDUbDh4=
X-Received: by 2002:a17:907:970f:b0:a72:b1fb:ca1d with SMTP id a640c23a62f3a-a751460b102mr922475966b.7.1720022019218; Wed, 03 Jul 2024 08:53:39 -0700 (PDT)
MIME-Version: 1.0
References: <CADNypP9GmF4vp1uzLXK0YYZAHUDjK7RHbhEb4MCXkB7N3Oq4+w@mail.gmail.com> <CAL02cgQYom9P+yGMODkHNE125mZnQxRdUTNQbP4ck4y48cgGTA@mail.gmail.com> <DBAPR83MB04379A8BF37E7914EBA5586F91DC2@DBAPR83MB0437.EURPRD83.prod.outlook.com> <699D40B3-19CA-430C-847D-3A5F8548FDF5@ve7jtb.com>
In-Reply-To: <699D40B3-19CA-430C-847D-3A5F8548FDF5@ve7jtb.com>
From: Tom Jones <thomasclinganjones@gmail.com>
Date: Wed, 03 Jul 2024 08:53:26 -0700
Message-ID: <CAK2Cwb4ON7mAvUUiBz+VAQ33appe2cHxE+AgCOA-Pq-V5umZdA@mail.gmail.com>
To: John Bradley <ve7jtb@ve7jtb.com>
Content-Type: multipart/alternative; boundary="0000000000007625a8061c59d51a"
Message-ID-Hash: 6UNKTBNJSHM3KD7A2GIK66R7KQEFLEQ7
X-Message-ID-Hash: 6UNKTBNJSHM3KD7A2GIK66R7KQEFLEQ7
X-MailFrom: thomasclinganjones@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-oauth.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Pieter Kasselman <pieter.kasselman=40microsoft.com@dmarc.ietf.org>, oauth <oauth@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [OAUTH-WG] Re: Call for adoption - PIKA
List-Id: OAUTH WG <oauth.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/_LDiygtEF-tVT89j2r7hEyZwD4Y>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Owner: <mailto:oauth-owner@ietf.org>
List-Post: <mailto:oauth@ietf.org>
List-Subscribe: <mailto:oauth-join@ietf.org>
List-Unsubscribe: <mailto:oauth-leave@ietf.org>

I have opposed channel-binding or token-binding from the beginning as they
serve very different puppies and typically fall under different management
within large enterprises. I have tried to push for a simple way to test the
validity of a signature for decades into the future as that is typical for
a wet signature. If digital signatures are ever acceptable as a replacement
for wet signatures then longer checking capabilities are required.

thx ..Tom (mobile)

On Wed, Jul 3, 2024, 8:41 AM John Bradley <ve7jtb@ve7jtb.com> wrote:

> I am not opposed to adding additional security for JWK key sets.
>
> I, however, share concerns about mixing the layering of certificates for
> transport security and application-level signing.
>
> I am not saying you can’t do it, but it adds operational complexity.
>
> One problem with TLS certificates is they end up living in a lot of places
> like reverse proxies and servers without HSM.
>
> As a result, the lifetime of TLS certificates gets shorter and shorter. I
> believe Letsencrypt is down to 90 days, and that could and perhaps should
> get shorter.
>
> That may not match the operational needs for application-level signing.
> /
> Looking at potential EU trust list requirements the private key used to
> sign the metadata for federation may need to be signed over by multiple
> trust lists (no I don’t think that is a good idea, but when has the EU been
> reasonable?).   I can see lots of interesting operational issues when you
> start combining these things.   Will lets encrypt allow the same private
> key over multiple issuances when it needs to be more or less static to
> match the other certs?
>
> This proposal is interesting but may have unintended and perhaps undesired
> interactions by mixing the layers.
>
> Perhaps there are ways to resolve these issues.
>
> I am happy to discuss further.
>
> Regards
> John B.
>
> On Jul 2, 2024, at 6:40 AM, Pieter Kasselman <pieter.kasselman=
> 40microsoft.com@dmarc.ietf.org> wrote:
>
> I want to thank the authors for preparing this draft. It addressees an
> important set of scenarios and I am supportive of the goal of this draft to
> add additional protection to JWK Key sets beyond being hosted on a web
> server protected by a TLS connection.
> I have some questions around the trust framework/trust model and would
> like to see some clarification or clear guidance on where the X.509
> certificates would come from and how they would be used. In general I am
> concerned by practices of using the same keys and certs for multiple
> purposes. It causes confusion and may result in security issues.
> From reading the draft and some comments referring to Web PKI, I get the
> impression that one option is to use TLS certs for signing artefacts that
> would be long lived, or would need to be archived/managed for a long time.
> Generally, using a key/cert to authenticate a web server for an ephemeral
> connection is different from generating long lived signatures that may be
> archived for decades as part of security audit data. Even if a separate TLS
> cert is used, it raises concerns about confusion that may result from using
> TLS certs in this way (it would be indistinguishable from a regular TLS
> cert for anyone verifying the key set). If the same certs/keys are used for
> both the TLS connection and generating PIKA proofs, it raises questions
> about application layer access to signing keys on the web server where the
> TLS session gets terminated. TLS keys are by nature closer to the edge
> where they are more accessible/vulnerbale, compared to keys that are used
> to sign artefacts that may persist over time and should be kept further
> away from the edge.
> It would be good to provide clear guidance on the trust framework for PIKA
> certs. where they would come from and the need of keeping them separate
> from certificates and keys used for ephemeral purposes (securing TLS
> connections). Perhaps this is something that can be done as part of
> security considerations, or may even be subject to its own in the draft.
> Cheers
> Pieter
>
>
> *From:* Richard Barnes <rlb@ipv.sx>
> *Sent:* Tuesday, June 25, 2024 9:56 PM
> *To:* Rifaat Shekh-Yusef <rifaat.s.ietf@gmail.com>
> *Cc:* oauth <oauth@ietf.org>
> *Subject:* [OAUTH-WG] Re: Call for adoption - PIKA
>
> Hi all,
>
> Replying to the top of the thread again to recap the arguments so far.
> (Hoping the chairs will give us a moment more to discuss before calling
> cloture.)
>
> It seems like Sharon, Rohan, Watson, and I are all on the same page w.r.t.
> the X.509-based mechanisms in the current draft.  In particular, we're all
> developers of relying party software, and it seems like we're all OK with
> doing X.509 (contra Mike's point about application-level X.509).
>
> If I understand Mike and Giuseppe correctly, they want to be less
> prescriptive about how the PIKA signer establishes their authority for an
> "iss" value, so that an OP could use some other mechanism (e.g., OpenID
> Federation).  It sounds like Mike at least is OK with the draft aside from
> this point.
>
> I would be open to adding some optionality in the authority mechanism
> here, but I'm wary of losing the concrete interop that we get with the
> draft as it is.  So we would need at least a strong recommendation for
> X.509, even if something else can be used if the parties agree to it.  I
> would be more comfortable doing something along the lines of what Rohan
> suggests, namely defining a concrete, X.509-based thing here, and extending
> it to support other mechanisms via follow-on specs as needed.  If there
> were a single additional mechanism that people wanted, as opposed to a
> generic "[insert authority mechanism here]", that would also be more
> palatable to me.
>
> Additional feedback would be useful on a couple of points:
>
> 1. From RPs: Is the X.509 requirement onerous to you?  Or is there enough
> library support out there that it's not a big deal?
> 2. From OPs: Is signing using a key bound to an X.509 certificate workable
> for you?  Or do you need some other authority framework?
> 3. From everyone: Is the general mechanism here useful, assuming we can
> align on some set of authority frameworks?
>
> Thanks,
> --Richard
>
>
> On Mon, Jun 10, 2024 at 7:47 AM Rifaat Shekh-Yusef <
> rifaat.s.ietf@gmail.com> wrote:
>
> All,
> This is an official call for adoption for the *Proof of Issuer Key
> Authority (PIKA)* draft:
> https://datatracker.ietf.org/doc/draft-barnes-oauth-pika/
>
> Please, reply *on the mailing list* and let us know if you are in favor
> or against adopting this draft as WG document, by *June 24th*.
>
> Regards,
>  Rifaat & Hannes
>
> _______________________________________________
> OAuth mailing list -- oauth@ietf.org
> To unsubscribe send an email to oauth-leave@ietf.org
>
> _______________________________________________
> OAuth mailing list -- oauth@ietf.org
> To unsubscribe send an email to oauth-leave@ietf.org
>
>
> _______________________________________________
> OAuth mailing list -- oauth@ietf.org
> To unsubscribe send an email to oauth-leave@ietf.org
>