[GNAP] Key Proofing Syntax

Justin Richer <jricher@mit.edu> Thu, 05 May 2022 07:19 UTC

Return-Path: <jricher@mit.edu>
X-Original-To: txauth@ietfa.amsl.com
Delivered-To: txauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AD7DBC14F741 for <txauth@ietfa.amsl.com>; Thu, 5 May 2022 00:19:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.896
X-Spam-Level:
X-Spam-Status: No, score=-0.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_DOTEDU_SHORT=1, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no autolearn_force=no
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 q-MEC3eoTdit for <txauth@ietfa.amsl.com>; Thu, 5 May 2022 00:19:12 -0700 (PDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (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 2EC5CC157B36 for <txauth@ietf.org>; Thu, 5 May 2022 00:19:11 -0700 (PDT)
Received: from smtpclient.apple ([85.19.219.182]) (authenticated bits=0) (User authenticated as jricher@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 2457J7HI016443 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <txauth@ietf.org>; Thu, 5 May 2022 03:19:09 -0400
From: Justin Richer <jricher@mit.edu>
Content-Type: multipart/alternative; boundary="Apple-Mail=_6BEF770B-E2F9-4EF4-A3E3-00073E98703D"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\))
Message-Id: <6A426DB8-C43E-4373-B41E-F6357E6645C4@mit.edu>
Date: Thu, 05 May 2022 09:19:05 +0200
To: GNAP Mailing List <txauth@ietf.org>
X-Mailer: Apple Mail (2.3696.80.82.1.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/txauth/5rfM_vQfy5MP4SeaDOMT8Cfcowk>
Subject: [GNAP] Key Proofing Syntax
X-BeenThere: txauth@ietf.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: GNAP <txauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/txauth>, <mailto:txauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/txauth/>
List-Post: <mailto:txauth@ietf.org>
List-Help: <mailto:txauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/txauth>, <mailto:txauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 May 2022 07:19:16 -0000

I’ve proposed a PR to change the key proofing syntax from a string to an object for methods that have additional parameters, like HTTP signatures. 

https://github.com/ietf-wg-gnap/gnap-core-protocol/pull/421 <https://github.com/ietf-wg-gnap/gnap-core-protocol/pull/421>

Details of the change in syntax can be found in the related issue:

https://github.com/ietf-wg-gnap/gnap-core-protocol/issues/417 <https://github.com/ietf-wg-gnap/gnap-core-protocol/issues/417>

Following the pattern used throughout GNAP, if you don’t have additional parameters for a given proof method, you can use the method name string as the full value, which is equivalent to the current syntax.

 — Justin