9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Nick Owens <mischief@offblast.org>
To: 9front@9front.org
Cc: Travis Moore <umbraticus@prosimetrum.com>
Subject: Re: [9front] sysinfo: redact wpapsk
Date: Thu, 15 Apr 2021 00:54:27 -0700	[thread overview]
Message-ID: <CAH_zEu68jofnYoY6MOEzRdma7+iKfXoW15g_8Ve4efA6CeM7_w@mail.gmail.com> (raw)
In-Reply-To: <103EDAF9-B5F8-43B7-8B19-825683BDE24B@cpan.org>

#r is devrtc and specific to x86 cmos. it isn't used for plan9 secret storage.

On Wed, Apr 14, 2021 at 3:02 PM Romano <unobe@cpan.org> wrote:
>
> Wouldn't '#r/nvram' also be better left not shown as well, since it is usually written with (sectore and login) keys?
>
> On April 14, 2021 8:20:27 PM UTC, umbraticus@prosimetrum.com wrote:
> >Some unwitting soul recently revealed a password in a public place.
> >Perhaps the following?...
> >
> >diff -r cc26fdf57bb2 rc/bin/sysinfo
> >--- a/rc/bin/sysinfo   Sat Mar 13 14:57:53 2021 +0100
> >+++ b/rc/bin/sysinfo   Thu Apr 15 08:17:26 2021 +1200
> >@@ -6,8 +6,8 @@
> >       echo
> > }
> > fn print{
> >-      echo '% cd ''#ec''; for(i in *){echo $i ''='' `{cat $i}}'
> >-      cd '#ec'; for(i in *){echo $i '=' `{cat $i}}
> >+      echo '% cd ''#ec''; for(i in `{walk | grep -v wpapsk}){echo $i ''=''
> >`{cat $i}}'
> >+      cd '#ec'; for(i in `{walk | grep -v wpapsk}){echo $i '=' `{cat $i}}
> >       echo
> >       logprog cat '#P/archctl'
> >       logprog cat '#P/irqalloc'

  reply	other threads:[~2021-04-15  8:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-14 20:20 umbraticus
2021-04-14 20:53 ` Romano
2021-04-15  7:54   ` Nick Owens [this message]
2021-04-15  9:07     ` unobe
2021-04-14 21:20 ` fulton

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=CAH_zEu68jofnYoY6MOEzRdma7+iKfXoW15g_8Ve4efA6CeM7_w@mail.gmail.com \
    --to=mischief@offblast.org \
    --cc=9front@9front.org \
    --cc=umbraticus@prosimetrum.com \
    /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).