[OAUTH-WG] Re: Standardizing a policy language
Mohamad Khalil Yossif <mohamad@yuthent.com> Sat, 25 July 2026 16:38 UTC
Return-Path: <mohamad@yuthent.com>
X-Original-To: oauth@mail2.ietf.org
Delivered-To: oauth@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 792DB11EA3CE3 for <oauth@mail2.ietf.org>; Sat, 25 Jul 2026 09:38:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1784997531; bh=6P84NA540tdG4jGZv9KZG9oiAc5f3VPUTD+rhNmIpMo=; h=From:Subject:Date:Cc:To; b=xJknaAx5fOqdwdhQmFU7gZqPl2XkohDvZrxtycU6SuJONQtBKAzImq/MfQzw9yoVJ lvkB9cZIFjfueJ4gueAcaFb+XfngnFSvjvrRRAHgAlqyTz4NULWy/LJMYOlRU/31Fj q8f0NymrtU/MDcKfX+ivAlDlG6DcIyIA6Ng0fFz8=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: 1.238
X-Spam-Level: *
X-Spam-Status: No, score=1.238 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001, RCVD_IN_SBL_CSS=3.335, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=yuthent.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E16bHXWuGEwO for <oauth@mail2.ietf.org>; Sat, 25 Jul 2026 09:38:51 -0700 (PDT)
Received: from out-07.pe-bsn.jellyfish.systems (out-07.pe-bsn.jellyfish.systems [66.29.159.85]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256)) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id DCC9E11EA3CDE for <oauth@ietf.org>; Sat, 25 Jul 2026 09:38:50 -0700 (PDT)
Received: from MTA-12.privateemail.com (unknown [10.50.14.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by BSN-01.privateemail.com (Postfix) with ESMTPS id 4h6rCZ0N6nz3hhTF; Sat, 25 Jul 2026 12:38:50 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=yuthent.com; s=default; t=1784997529; bh=6P84NA540tdG4jGZv9KZG9oiAc5f3VPUTD+rhNmIpMo=; h=From:Subject:Date:Cc:To:From; b=RNbtKHCd8l2TU4+JT1hK+iOC3r4bEgPo9OBHv5Mokghf0Qc4SnGCzyDlUrkHWqDd1 3+ngPLh9gzheM7P3oNkggEhLbvJ8fec6ilF95y9ERKSsyIgaULzk39T4QGLZy2sCzP cNsCS0V8bF5U2hYsnazpPHbC0225DcCkI4COiwZtxpHQFKZnCe6CigLDeUr8APQytF 7dxVPiHy16oadFbbmt64g9xsOzHP++xCIHEsoTrxyr6drWd5Oq/mKa7Xb3v/04td/H OdMA/NGJlGTDK42A4lvnMFPAXhlRKQIe7kS8s9gLjEBPJ1TQ82oAtfAXtRXQre463D m5ZVKiI4pr/Dw==
Received: from mail.privateemail.com (K8S-PROD-WORKER-01 [147.235.221.162]) by mta-12.privateemail.com (Postfix) with ESMTPA id 4h6rCX0Nkjz3hhT9; Sat, 25 Jul 2026 12:38:47 -0400 (EDT)
From: Mohamad Khalil Yossif <mohamad@yuthent.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_A7426A74-0911-4CC6-89EC-AC80474E5464"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.600.51.1.1\))
Message-Id: <8984F26E-4F4D-43DB-B7D8-D5BCF3E79E67@yuthent.com>
Date: Sat, 25 Jul 2026 19:38:36 +0300
To: oauth@ietf.org
X-Mailer: Apple Mail (2.3864.600.51.1.1)
Message-ID-Hash: ULFN4HL7UTHZE7CUUJDL23USDWV3J253
X-Message-ID-Hash: ULFN4HL7UTHZE7CUUJDL23USDWV3J253
X-MailFrom: mohamad@yuthent.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: max.ldp@alibaba-inc.com
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [OAUTH-WG] Re: Standardizing a policy language
List-Id: OAUTH WG <oauth.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/MyiteeVwtEF3LWno2XDauSyk1ws>
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>
> Dapeng, > > Apologies for the slow reply - your note arrived in the run-up to > Vienna and I did not get back to it, which is my loss since I would > have taken you up on the offer to talk there. > > On the substance. The extension you describe - recording the > complete evaluation input, the policy language type, and the > specific policy evaluated, so an auditor can re-evaluate > policy(input) and compare - is the right shape for the decision > half of the problem, and I think it closes more than you claim for > it. > > The limit you name yourself is the one I would build on: it still > trusts the RS to assemble the correct input. Your mitigations are > the right ones - policies declaring required input fields, input > sources signing their contributions, the RS committing to the input > before evaluation - and the second of those is where I think the > two lines of work meet. If input sources sign their contributions, > then for any input field that asserts something about a human being > present or approving, the signature that carries it has to come > from the human's side rather than from a component the RS or the AS > operates. Otherwise the input is self-asserted at exactly the field > that matters most. > > That is the piece draft-yossif-psea profiles: an EAT profile > (RFC 9711) carrying a signature produced on the user's > authenticator under a user-verification gate, bound to a canonical > hash of the specific action payload. It is not an alternative to > AS-signed evidence. Detached-JWS AS evidence establishes what the > authorization server decided and observed; an authenticator-side > proof establishes that a verified human approved these exact > parameters. A record carrying both, joined to one action, answers a > question neither answers alone - and it is verifiable by a party > who trusts neither the RS nor the AS. > > https://datatracker.ietf.org/doc/draft-yossif-psea/ > > Two things I would flag as genuinely unresolved rather than solved. > > First, ordering. Both artifacts are signatures over the same > action. Neither, by itself, establishes that the approval preceded > the effect rather than ratifying it afterwards. For a re-evaluable > audit record that distinction is load-bearing, and I do not think > either of our drafts currently closes it. > > Second, and this cuts across every proposal in this space including > both of ours: a verifier resolves a public key to a named principal > because of something enrollment guaranteed, and no current draft > states what that something must be. Weak enrollment yields a > mathematically sound proof about the wrong person, and nothing at > the policy, evidence, or audit layer detects it. I have written the > requirements up as a problem statement with no mechanism proposed: > > https://datatracker.ietf.org/doc/draft-yossif-enrollment-problem/ > > I would value your read on it specifically, since your draft's > threat model is the closest thing in this space to a stated > position on what the AS is and is not trusted for. > > Your point about profiles carrying the tradeoffs rather than the > core binding mechanism seems right to me, and it is the same > argument for keeping requirements separate from mechanism that > Yaron was making about the language question. > > Best, > Mohamad Khalil-Yossif > draft-yossif-psea
- [OAUTH-WG] Standardizing a policy language Yaron Sheffer
- [OAUTH-WG] Re: Standardizing a policy language Mohamad Khalil-Yossif
- [OAUTH-WG] 回复:Re: Standardizing a policy language 刘大鹏(鹏成)
- [OAUTH-WG] Re: Standardizing a policy language Mohamad Khalil Yossif
- [OAUTH-WG] 回复:Standardizing a policy language 刘大鹏(鹏成)
- [OAUTH-WG] Re: Standardizing a policy language Hannes Tschofenig
- [OAUTH-WG] 回复:Re: Standardizing a policy language 刘大鹏(鹏成)
- [OAUTH-WG] Re: Standardizing a policy language Lombardo, Jeff
- [OAUTH-WG] Re: Standardizing a policy language Max Gerber
- [OAUTH-WG] Re: Standardizing a policy language Lombardo, Jeff
- [OAUTH-WG] Re: Standardizing a policy language Mohamad Khalil Yossif