From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 24830 invoked from network); 19 Aug 2021 05:39:11 -0000 Received: from tb-ob0.topicbox.com (64.147.108.117) by inbox.vuxu.org with ESMTPUTF8; 19 Aug 2021 05:39:11 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob0.topicbox.com (Postfix) with ESMTP id 0DD53256C1 for ; Thu, 19 Aug 2021 01:39:09 -0400 (EDT) (envelope-from bounce.mM61de2eb3c44020e589f16480.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 0A31F326C9A5; Thu, 19 Aug 2021 01:39:09 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:date:from:in-reply-to :mime-version:content-type:content-transfer-encoding:list-help :list-id:list-post:list-subscribe:reply-to:list-unsubscribe; s= sysmsg-1; t=1629351548; bh=QWwagNUso1nXMhvxUzLNOAKHOLTAVu0R/jVWw eMe848=; b=VYBQI4ZygTLjGmVMtZ/5PUi5lgBiiip0oPb6+fWBcUy4XTSlK5tAd wynlxWYY0BZoJpbPIPGUmrOcbkNZN8BF11CxA9nCGJ6E0zoUmyRKXQSseKIgV9u5 kt4SW8zdM8HzFckPkdyqF1WWSulxxZ7OREoAYzAkoWtfP6sNvrxurg= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1629351548; b=EYCakItj0QoZ01stmCkSEMNfykNJOwwPROdf3zvDVZ9RQIXcHc SARkyRmaV5zFqIbBoNo/6Eo62MeFpG26JBxd33U6GfAkeivAiVX0ZXYp6Tox5R1V p60lsPf8lucajXwkNqKLGNBaUM6psdPd6ISeEzyfdXmDPcRwLbfKWrz68= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; iprev=pass smtp.remote-ip=206.124.132.107 (mimir.eigenstate.org); spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mimir.eigenstate.org policy.ptr=mimir.eigenstate.org; x-return-mx=pass header.domain=eigenstate.org policy.is_org=yes (MX Records found: mail.pikopiko.org,nokogiri.pikopiko.org,eigenstate.org,kusuri.pikopiko.org); x-return-mx=pass smtp.domain=eigenstate.org policy.is_org=yes (MX Records found: mail.pikopiko.org,nokogiri.pikopiko.org,eigenstate.org,kusuri.pikopiko.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=message-id :to:subject:date:from:in-reply-to:mime-version:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:list-unsubscribe; s=dkim-1; bh=h2+p5yT1 J+k4QGu3oQBVgZH0MtPKPGP/0B3L6OiuDNo=; b=jEOQN6ta3C+r72eM6xUexEHU Mj6yvD413DHmzQ+fjt36b9zfTYdZSyLkgxgF9W6UcqmU9GN+/xXTuRrJjVgJV25D 7zp+y7D24iqSGqJ1vD5IBl7fVwAdUkmqxL6JVgfkA+VU85ClxQRlprMT9LHsKWR5 HDXQoag1jfpEJsU02zs= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id CC4493330C28 for <9fans@9fans.net>; Thu, 19 Aug 2021 01:38:54 -0400 (EDT) (envelope-from ori@eigenstate.org) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 7B2AEFE5CE8; Thu, 19 Aug 2021 01:38:54 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1629351534; b=fyhu3IB+g1BLAjj5kXwaouuTE4RDdJoIYqlXDVOJIP6AdFlE3/ W5fjSCW+CKgiqBTr6cZEjLIGnw5VGGvWCoy43VptckSTaidr03SgbYWYikC51RP0 zN1tR4HYBYGwLbhehY188Ta4tD2hlt4oY5vz3qxrzazoPlOf7u+GntwbT0xIf3j/ FO1Fv895du5NXqE4ydZ9OP6m0o2+CwYlrhQagTRsu7yIEUBwB98wwk7+b/JK8BYI fiJeeVLtF2jPyK8TpQOFrnmoyv1wqazK+Zv/VeMD5Uez3PSbCkVuA04uC6jr78tn 0zl4Njjzj2fl+Csvq2TAJTzmrC6OGN8s1u3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:date:from:in-reply-to :mime-version:content-type:content-transfer-encoding; s=arcseal; t=1629351534; bh=SKNKBX/u9nP77B4AQfpHDPDuTKVrSbvWvwlqeFThpZw=; b= MZxqp4blaVoFuA3KHEoDHobxfB+CzFLtHKNU63OPfo/4FoziB7NdhO1OPC6xZZtn LYQMAGrSUqEdGdsVMYw61MMfKORNBgy5AtGe7qjI9J5Wc/yMZpqrnk07pkLe+Mk0 gRY5FK7YMKNO4S39bUaGMabwZLyBLoEwK5j9fsQBNqCaWZjnNgpqFYvgbRVEu7lo qUxBidersu+Fo2qT9lMHFs/Sr46YCNk9wswRH6LMbNIjudlnsxN1diDCOHaTKQpl 3ypySDd0Em7uE3ITfvTK7258MtJw2/C22JHxJH7LvH65HcdiD8qX2lFhqzR7y4PP auvUOyhNlp+1owwKMitiRw== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; iprev=pass smtp.remote-ip=206.124.132.107 (mimir.eigenstate.org); spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mimir.eigenstate.org policy.ptr=mimir.eigenstate.org; x-return-mx=pass header.domain=eigenstate.org policy.is_org=yes (MX Records found: mail.pikopiko.org,nokogiri.pikopiko.org,eigenstate.org,kusuri.pikopiko.org); x-return-mx=pass smtp.domain=eigenstate.org policy.is_org=yes (MX Records found: mail.pikopiko.org,nokogiri.pikopiko.org,eigenstate.org,kusuri.pikopiko.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvtddrleeigdekkeculddtuddrgeduhedrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghn shhusghstghrihgsvgdpuffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtne cunecujfgurhepkffvufffhfgjgggtgfesthejjedttddtvdenucfhrhhomhepohhrihes vghighgvnhhsthgrthgvrdhorhhgnecuggftrfgrthhtvghrnhepfefgfeegkeelieejgf egjeeuteevkeegvdduleffvddvieetiefhjefggffgueelnecuffhomhgrihhnpehgihht hhhusgdrtghomhenucfkphepvddtiedruddvgedrudefvddruddtjedpjeegrddutdekrd ehiedrvddvheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedv tdeirdduvdegrddufedvrddutdejpdhhvghlohepmhhimhhirhdrvghighgvnhhsthgrth gvrdhorhhgpdhmrghilhhfrhhomhepoehorhhisegvihhgvghnshhtrghtvgdrohhrgheq X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (eigenstate.org: 206.124.132.107 is authorized to use 'ori@eigenstate.org' in 'mfrom' identity (mechanism 'mx' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="ori@eigenstate.org"; helo=mimir.eigenstate.org; client-ip=206.124.132.107 Received: from mimir.eigenstate.org (mimir.eigenstate.org [206.124.132.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Thu, 19 Aug 2021 01:38:53 -0400 (EDT) (envelope-from ori@eigenstate.org) Received: from abbatoir.myfiosgateway.com (pool-74-108-56-225.nycmny.fios.verizon.net [74.108.56.225]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id 481548db (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9fans@9fans.net>; Wed, 18 Aug 2021 22:38:52 -0700 (PDT) Message-ID: <20C7AA5E6B3CF117A7F56FC38AED5EE5@eigenstate.org> To: 9fans@9fans.net Subject: Re: [9fans] OAuth2 in factotum Date: Thu, 19 Aug 2021 01:38:51 -0400 From: ori@eigenstate.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: c1024e46-00af-11ec-9f06-ac308302be6b Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UNjg5OWJmM2YwNjU0Mjk1ZC1NNjFkZTJlYjNjNDQwMjBlNTg5ZjE2?= =?UTF-8?B?NDgwPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M61de2eb3c44020e589f16480:1:Fan18Cu3jbo5PoHO4RR5NTRKc0gy7ZepMJs0NpKF-Y8 Quoth Demetrius Iatrakis : > Only the device and refresh flows are supported. There is an > implementation of the authorization code flow (tested on macOS) here: > https://github.com/Mitsos101/plan9port/pull/1. However, it is not > included in the module as there is no good browser to plumb the URL > to. Thinking about this a bit more, maybe the right option is to just push this *all* the way to the unix side, rather than trying to awkwardly straddle the gap: ssh ori@unix oauth-login client_id=3D1234 | ipso -r and then just relying on the refresh flow on plan9. If unix is going to be involved one way or the other, it seems like it may be best to follow that to the logical conclusion, and leave all of the initial token fetch live there, then let the refresh happen within plan 9. Also, I'm currently working on a upas/fs patch that uses this work. I hope to have something this weekend. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T6899bf3f0654295d-M61de2= eb3c44020e589f16480 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription