9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Skip Tavakkolian <skip.tavakkolian@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] why disabled -n option of secstore in plan9port
Date: Wed, 24 May 2017 17:03:31 +0000	[thread overview]
Message-ID: <CAJSxfm+0o7ZY0fR2MLwKjH1+THmw=gsTx1xuewsQHmfVp=ZxJw@mail.gmail.com> (raw)
In-Reply-To: <CAFMepcnW4-g9u8nGjuct7Bwv=awRpaxWBSKVckCipY4Po0f5Lw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 767 bytes --]

probably because it wouldn't be a secure storage.  p9p is hosted on linux
or macos, and if the keys are stored in a file (or device) on the host os,
then secstore would be only as secure as the host os (e.g. sudo privilege).

readnvram (src/libauthsrv/readnvram.c) expects to find the keys in
locations that are specific to plan9 devices (e.g. '#r/nvram'). unattended
startup of secstore assumes that there is physical access control to the
machine and only the host-owner can access nvram.


On Wed, May 24, 2017 at 8:27 AM Kyohei Kadota <lufia@lufia.org> wrote:

> Hello fans.
>
> I'm curious why secstore's -n option is disabled.
>
> https://github.com/9fans/plan9port/blob/master/src/cmd/auth/secstore/secstore.c#L390
>
> Does someone know?
>

[-- Attachment #2: Type: text/html, Size: 1250 bytes --]

      reply	other threads:[~2017-05-24 17:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-24 15:26 Kyohei Kadota
2017-05-24 17:03 ` Skip Tavakkolian [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJSxfm+0o7ZY0fR2MLwKjH1+THmw=gsTx1xuewsQHmfVp=ZxJw@mail.gmail.com' \
    --to=skip.tavakkolian@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).