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

Richard Barnes <rlb@ipv.sx> Wed, 18 September 2024 14:15 UTC

Return-Path: <rlb@ipv.sx>
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 7B2F8C157937 for <oauth@ietfa.amsl.com>; Wed, 18 Sep 2024 07:15:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.903
X-Spam-Level:
X-Spam-Status: No, score=-1.903 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_FONT_FACE_BAD=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ipv-sx.20230601.gappssmtp.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 5VzsjLVvmqim for <oauth@ietfa.amsl.com>; Wed, 18 Sep 2024 07:15:23 -0700 (PDT)
Received: from mail-il1-x134.google.com (mail-il1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 58C77C1654F3 for <oauth@ietf.org>; Wed, 18 Sep 2024 07:15:22 -0700 (PDT)
Received: by mail-il1-x134.google.com with SMTP id e9e14a558f8ab-3a09d785423so12499485ab.0 for <oauth@ietf.org>; Wed, 18 Sep 2024 07:15:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipv-sx.20230601.gappssmtp.com; s=20230601; t=1726668922; x=1727273722; 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=aX+04f8742BonuwHF04p03vydsMPBaQBwAk7d3wyayI=; b=dnquS/NYqdjmYHqfkLYlXP2R2KSEh+IMb++WOFxecT8J4TUx43LjEYNUCQFX9eHSzz KB5SSqDDGbtvVhNGcnrEYBhJEBqlK5RAF0vZUjd00bglgpdJmh6JzV4rtY7ZfjT6sR/G sxWzW2UKS2XRMz+P3XAl0bPekXnAhkgohsSKF/hVNcKV6qiSZl000R6K5vp3hiXrn5Jg rUAEs+2TMVqhPVo+sCA/aOGXxphTGYM199W+kBFj/0ttT8u0QRr5uK18kgYInPWxDlC0 Qphk+kAKGWHPXQ7FbW37+/70oLSnPldkt7ivq7MF/NpPHV090P88t5+NlEv3ylfqYcqO J7Zw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726668922; x=1727273722; 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=aX+04f8742BonuwHF04p03vydsMPBaQBwAk7d3wyayI=; b=PE8QVa+JayxU+bdVa3lSZ3J2nfvTGCNnsicoJkVcVu0RkWwRO1uDPCk0JIhPPXdJGF cRx8GmBAmUe7hfGX4/6SElXorYgByR/qVIoEsS+QIGCul7rvtcK6L2Kd6ZTylsIj2EsN onPpZgD56zay2nb4gUUuCh0EQUNUcW5fzB351P7J6rtXfRcD8hUoucbGgnj0U67zC0oE XQQ7UnwQm4nwBESD58eGeANzi+iohBuPwFpF46IF5cEAJEhQgX9S+fe7uUO8Yd+2PwDr hDnB59z5oTIz4vWh5ByAlaSGxcU4nTZ6fu2mFLLBtgHR2X7kZpfM1xPTsUhBRzLKuzve 45yw==
X-Forwarded-Encrypted: i=1; AJvYcCWXoHRCtkjV7cbJUQ14bQQESmG5XrHAMA1fVyyOxLJY80eMy1Z+GnmNeO/niNqq89YfPaOaHw==@ietf.org
X-Gm-Message-State: AOJu0YwjNza9c0/khfNc+fHmT9QEsA3I1dcsY088GuOVxmbe+1FfGoiZ 42hwvE7b63E7MKchIb9zUJAsLy6tNG/DDCX/YtB5On9iX2j9BDQr7ItwN1RFdg3u40JBCKPiTcB izQJuw70Y220RJCeSErIE89842G43Sk0WW0Bj/w==
X-Google-Smtp-Source: AGHT+IE63blhmUhYF1POCrKQ/L0dlfLESmeLXYsLvrfABGDW79A3Ks+hIUQqA+g2AIAOidKpx1n+T0tlBgM+WdQr/70=
X-Received: by 2002:a05:6e02:174e:b0:3a0:b1ea:816 with SMTP id e9e14a558f8ab-3a0b1ea2618mr55755895ab.25.1726668922076; Wed, 18 Sep 2024 07:15:22 -0700 (PDT)
MIME-Version: 1.0
References: <CADNypP80YnzxOc_NDbFqK0bv=i0Ys1s8hYHwo-PqhUPbAWs4sg@mail.gmail.com> <ff6a0d93-af5d-479f-9ae7-14815364a73e@connect2id.com> <CAK2Cwb6EFbt4tz5QkanVbWeB4_NFDwxa4GtAoEb6X3ss0TTSDA@mail.gmail.com>
In-Reply-To: <CAK2Cwb6EFbt4tz5QkanVbWeB4_NFDwxa4GtAoEb6X3ss0TTSDA@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
Date: Wed, 18 Sep 2024 10:15:09 -0400
Message-ID: <CAL02cgSHn15pAUoi_n9+rBH6PgQRJDcEmhopuXfBQkucJ+b5Ng@mail.gmail.com>
To: peace@acm.org
Content-Type: multipart/alternative; boundary="000000000000beef020622656f60"
Message-ID-Hash: OVMAXMVS2ODEHJ3YU7UIB2HTY5ZPADL5
X-Message-ID-Hash: OVMAXMVS2ODEHJ3YU7UIB2HTY5ZPADL5
X-MailFrom: rlb@ipv.sx
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: 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/NI_z0Oir3eQ91YIrPf3SLwKoN14>
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>

Hi Tom,

This draft is not about user proofing.  It's about authenticating the
issuer of a JWT.

--Richard

On Tue, Sep 17, 2024 at 7:57 PM Tom Jones <thomasclinganjones@gmail.com>
wrote:

> This is not the way I used PKI for user proofing.  For convenience we
> added the Subject Alternative Name (SAN) which I guess is what you mean by
> a TLS certificate. This cert key was added to the TPM and used to sign JSON
> messages from the client to the server.
>
> Please don't mix the attributes of the PKI for the actual purpose of the
> key and cert.
>
> Peace ..tom jones
>
>
> On Tue, Sep 17, 2024 at 1:01 PM Vladimir Dzhuvinov <
> vladimir@connect2id.com> wrote:
>
>> I frankly don't see how the central premise of PIKA - the reliance on a
>> TLS web domain certificate - can be made to work in practice.
>>
>>
>> Reasons: Infrastructure in the real world, mixing of concerns, conflict
>> with CA policies and CAB Forum requirements, NIST etc guidance compliance
>> issues.
>>
>>
>> The argument - JWKs are already published at an HTTPS URL - so let's take
>> the private key from the web reverse proxy (assuming there is no HSM) and
>> start signing JWTs at some application with it - how I would be able to
>> make this argument at some company X.
>>
>> When we look at how infrastructure is setup and administered - even if we
>> here in the OAuth WG decide to say "using the private TLS key for other
>> purposes is entirely okay" - there are significant practical issues with
>> this. It's not just a matter of being theoretically able to cross from the
>> app layer into the TLS layer. These two layers are typically managed by
>> different departments in orgs, and there are good reasons to isolate them.
>> I can't imagine being able to go to the admins and say, make me a copy of
>> the private key so I can sign JWTs with it, or let me install this service
>> on your infra to sign my JWTs.
>>
>> Let's also think about the potential legal and compliance issues.
>>
>> CAs that issue certs that prove web domain control have policies. These
>> policies are linked to the EKU values in the certs. Using the cert to sign
>> stuff other than that expressly identified in the CA policy and the
>> extKeyUsage fields can be seen as breaking those policies.
>>
>> https://letsencrypt.org/documents/LE-SA-v1.3-September-21-2022.pdf
>>
>> 3.6 Installation and Use of Your Certificate
>>
>> The purpose of Your Certificate is to authenticate and encrypt Internet
>> communications.
>>
>> I'd also suggest to go and check whether the CA / Browser Forum, in its
>> "Baseline Requirements for the Issuance and
>> Management of Publicly‐Trusted TLS Server Certificates" does not
>> stipulate an overarching policy for CAs that generally prohibits issue of
>> TLS certs with additional EKU values.
>>
>> Orgs that seek compliance with NIST and similar guidance are likely to
>> see issue with this approach too. Documents like NIST Special Publication
>> 800-57 / Recommendation for Key Management.
>>
>> I'm not in favour of adopting this spec as it is in the WG. Let's
>> consider the practical situation apart from what seems technically possible.
>>
>> I made a diff between drafts 01 & 02 and noticed that in 02 the policy
>> issues of using CA TLS certs for PIKA were probably recognised to some
>> degree, in the "5.2. Signing Key Compromise" section.
>>
>>
>> https://author-tools.ietf.org/iddiff?url1=draft-barnes-oauth-pika-00&url2=draft-barnes-oauth-pika-01&difftype=--html
>>
>> Apart from the "5.2. Signing Key Compromise" section, draft 02 that is
>> now proposed for adoption is identical to the original 01 that wasn't
>> adopted in June. It's okay to explain the intent to resubmit without
>> changes, just as it's okay to disagree on a particular adoption. I get it
>> that the topic of PIKA feels contentious.
>>
>>
>> Vladimir Dzhuvinov
>>
>> On 03/09/2024 13:47, Rifaat Shekh-Yusef wrote:
>>
>> All,
>>
>> As per the discussion in Vancouver, this is a 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 *Sep 17th*.
>>
>> 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
>