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_H5, RCVD_IN_MSPIKE_WL,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 21808 invoked from network); 10 Apr 2022 11:23:02 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 10 Apr 2022 11:23:02 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob1.topicbox.com (Postfix) with ESMTP id 9C55128B6E for ; Sun, 10 Apr 2022 07:23:00 -0400 (EDT) (envelope-from bounce.mM194adecf428e78a8da7f93ec.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 9120210BB212; Sun, 10 Apr 2022 07:23:00 -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=sirjofri.de; spf=pass smtp.mailfrom=sirjofri+ml-9fans@sirjofri.de smtp.helo=sirjofri.de; 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=date:from:to:message-id:in-reply-to:references :subject:mime-version:content-type:content-transfer-encoding :list-help:list-id:list-post:list-subscribe:reply-to :list-unsubscribe; s=sysmsg-1; t=1649589780; bh=iSXWHcPg5bqz0Xca pJG36poA92jfCN1lP0I8Oc96GOc=; b=A2zoHwsMkiVUaCkHZ30UruY1PnAwoq/l SDG0XpGr4AnVEDjBjzUH3+7JYO/N09Ubjb7Dej+ztC9yqVQMRjT0wNrfCoasQz/0 EgmZWD8l1ecI3d3CsZKZAo4nzG175ZKabe6NtkTJV1Hwn877UQd4al7LyWYZHxXg vOhfg8odWmY= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1649589780; b=XaaCeKq+2yypXOFnaph8nmryVPonOZk86r7a2p35JgcNEl8jKh QS93+e3eZ9e+69Y4mYvidngRuzBeg5XOYccbRQpomUB+amvnKi8dxuOcVsO0dQIL r76w1gkaZFOCQt5UXlc11F4XuQv+oXnmfdY1hd6RLaZCUeE8azOrfmoSY= 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=sirjofri.de; spf=pass smtp.mailfrom=sirjofri+ml-9fans@sirjofri.de smtp.helo=sirjofri.de; 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=sirjofri.de; iprev=pass smtp.remote-ip=5.45.105.127 (sirjofri.de); spf=pass smtp.mailfrom=sirjofri+ml-9fans@sirjofri.de smtp.helo=sirjofri.de; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=sirjofri.de policy.ptr=sirjofri.de; x-return-mx=pass header.domain=sirjofri.de policy.is_org=yes (MX Records found: sirjofri.de); x-return-mx=pass smtp.domain=sirjofri.de policy.is_org=yes (MX Records found: sirjofri.de); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-SHA smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=date:from :to:message-id:in-reply-to:references:subject:mime-version :content-type:content-transfer-encoding:list-help:list-id :list-post:list-subscribe:reply-to:list-unsubscribe; s=dkim-1; bh=iSXWHcPg5bqz0XcapJG36poA92jfCN1lP0I8Oc96GOc=; b=gGeex9Aoe0pp KBGubP7wvIqO+B9bESbNyISN752G/jpisyp9+6/HT8oMFXypybFmVFp9fEL7cfxj q8m2OiB1DS/Yu6vmcjk8F68FFI770PGKeZebL40gjae+dEbcywdQ0v9tNW+pmiXg jcxNHbtN3fAcQ+hjpHe7B3aT47endyM= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id DA08C1347FCF for <9fans@9fans.net>; Sun, 10 Apr 2022 07:22:49 -0400 (EDT) (envelope-from sirjofri+ml-9fans@sirjofri.de) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 251C7289CC5; Sun, 10 Apr 2022 07:22:49 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1649589769; b=CyH6+Pa33958GtCxOKKixyJKlAm0Sq46Y4BlPL/qUV9HZpsdyv bQfB7nnKsrXYjOOP2a2XivNS2YlQe3bzV+HCeh91/3KNjHMIWfeLlkEc7UDSy0tG +w7Mb7BH/iSqF5jgqHuPFmK8dEJmKrqgBw/J+DJYZVIpnHzorrB9gpFq4qm77BZ7 pb1lWRzd19xoAwdSRZff/2BKOFj/+WkvZ567fDl+1Bah10jtsQihfUJ91y8sa/91 nFr9Ne98jpWlTYt7nkwPl/5pZi1U5vST8VdzseA8SMpnQtpJjmiYRs5IE2jReLoV B7TVlJlEIfsbxoRL8cV+25S1kYNVYRK9HTow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:message-id:in-reply-to:references :subject:mime-version:content-type:content-transfer-encoding; s= arcseal; t=1649589769; bh=od6iIEPLF2wI92ke+2YZQnq74GlsGdv72jOwqh KYQb8=; b=r745Pttrb5e6E66aUgK86lnW6ClprCXCMFo5S+LlGHsAcOi2ZCwZwp ELAF5nIVP2F2TrKBQCVWXXj+mithEj1plUV8mabaEY8CM17juCvg9/junJnxerGg mlgxT7/gNUXIllUuSOu80PDqGEdJuD0qTM8Zekxnx6JmWBgWCo+3q0bXor6H2isr W3OU3hv7aejNDwlewwgBSqRX4iXrZudFC5h5kk3xIsf4JIWDhrdMWjGx6aexumqt vPyfuzB9hF+FRe2B8GPYhpA5gOc6sTAuQKHoEHZpHqIGHsCDbDiL3ESYM8alwkMQ LjRfQB4GCYiP/poTUKhRaVMO3qHQPxJg== 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=sirjofri.de; iprev=pass smtp.remote-ip=5.45.105.127 (sirjofri.de); spf=pass smtp.mailfrom=sirjofri+ml-9fans@sirjofri.de smtp.helo=sirjofri.de; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=sirjofri.de policy.ptr=sirjofri.de; x-return-mx=pass header.domain=sirjofri.de policy.is_org=yes (MX Records found: sirjofri.de); x-return-mx=pass smtp.domain=sirjofri.de policy.is_org=yes (MX Records found: sirjofri.de); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-SHA smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvvddrudejkedgieefucdltddurdegudehrddttd dmucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgf nhhsuhgsshgtrhhisggvpdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttd enucenucfjughrpeffhffvkfgjfhfugggtgfesthejredttddtjeenucfhrhhomhepshhi rhhjohhfrhhiuceoshhirhhjohhfrhhiodhmlhdqlehfrghnshesshhirhhjohhfrhhird guvgeqnecuggftrfgrthhtvghrnhepfefhtdetudehffevueelfeegjedvgeefgedttdeh leeuuddtheduhfefffeuleetnecukfhppeehrdeghedruddthedruddvjedpleehrdeltd drvddukedrudegvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvght peehrdeghedruddthedruddvjedphhgvlhhopehsihhrjhhofhhrihdruggvpdhmrghilh hfrhhomhepoehsihhrjhhofhhrihdomhhlqdelfhgrnhhssehsihhrjhhofhhrihdruggv qe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (sirjofri.de: 5.45.105.127 is authorized to use 'sirjofri+ml-9fans@sirjofri.de' in 'mfrom' identity (mechanism 'mx' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="sirjofri+ml-9fans@sirjofri.de"; helo=sirjofri.de; client-ip=5.45.105.127 Received: from sirjofri.de (sirjofri.de [5.45.105.127]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Sun, 10 Apr 2022 07:22:48 -0400 (EDT) (envelope-from sirjofri+ml-9fans@sirjofri.de) Received: from sirjofri.de ([95.90.218.142]) by sirjofri.de; Sun Apr 10 13:22:31 +0200 2022 Date: Sun, 10 Apr 2022 11:22:30 +0000 (UTC) From: sirjofri To: 9fans <9fans@9fans.net> Message-ID: <46706cb9-7c91-4d63-8c87-1c474ad5b299@sirjofri.de> In-Reply-To: References: Subject: Re: [9fans] factotum (was: Connect plan9 with Linux SMB resource) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Correlation-ID: <46706cb9-7c91-4d63-8c87-1c474ad5b299@sirjofri.de> Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 90a4379a-b8c0-11ec-ae27-8c84a23bfd36 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UODhiOTA3MmU0OWU3NzNiYS1NMTk0YWRlY2Y0MjhlNzhhOGRhN2Y5?= =?UTF-8?B?M2VjPg==?= 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:M194adecf428e78a8da7f93ec:1:-MwM5UpjJy2EiiL12YCBw8A845qtpIVfLFjngpVawho fatotum is quite easy, since it's a client as a filesystem. The "real" server you can set up (but it's optional) is the secstore=20 server which persistently holds your keys. factotum just uses these keys (or the ones you entered manually or read=20 in through a custom mechanism, e.g. a file) to handle all the=20 authentication stuff you want to use. So in the end, factotum is very easy. Just start it in your namespace and=20 the programs will automatically use it. You can also run auth/fgui in a=20 rio to have a nice entry box for new keys. Really, the complex thing is=20 managing the namespace, which is the most important thing in Plan 9=20 anyways, so you should definitely learn it. Common start point for factotum is, run it in your lib/profile. I believe=20 it's the standard lib/profile configuration to start the factotum in a=20 terminal session and import the terminal factotum in a cpu session. There's plenty of resources about factotum and auth in Plan 9 systems. Do=20 yourself a favor and read the papers (/sys/doc/). Also I'm sure that=20 almost all Plan 9 users can give you hints and tips about it since it's=20 an integral part of the system. On my very first Plan 9 laptop I btw just had my keys stored in a plain=20 file, unencrypted. sirjofri ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T88b9072e49e773ba-M194ad= ecf428e78a8da7f93ec Delivery options: https://9fans.topicbox.com/groups/9fans/subscription