9front - general discussion about 9front
 help / color / mirror / Atom feed
From: arisawa <arisawa@ar.aichi-u.ac.jp>
To: 9front@9front.org
Subject: Re: [9front] first 24B in /adm/keys
Date: Sun, 13 Nov 2016 12:05:41 +0900	[thread overview]
Message-ID: <D0811629-3819-4CCB-B337-0E13FBF5CC8F@ar.aichi-u.ac.jp> (raw)
In-Reply-To: <befb98db5c4df3427caade7072af99fb@felloff.net>

thanks, cinap.

ok, I confirmed that when we want to initialize key datebase
it is enough to remove /adm/keys and /adm/keys.who.

thanks again.


> 2016/11/12 22:27、cinap_lenrek@felloff.net のメール:
> 
> keyfs writes a new file when you add/change users. when theres
> no previous des format keydb, then it will always create a new
> file in aes format as long as it has the aes key which it gets
> from nvram or calculates itself from the password (-p flag) on
> startup.
> 
> so, unless you use -p flag, make sure you have the aes key
> stored in your nvram. you can do that with auth/wrkey.
> 
> whenever you change users in keyfs, it will reencrypt everything
> and write a new file. it will also generate a new random iv
> each time so the value you put there doesnt matter.
> 
> --
> cinap



      reply	other threads:[~2016-11-13  3:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-12 11:36 arisawa
2016-11-12 13:27 ` [9front] " cinap_lenrek
2016-11-13  3:05   ` arisawa [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=D0811629-3819-4CCB-B337-0E13FBF5CC8F@ar.aichi-u.ac.jp \
    --to=arisawa@ar.aichi-u.ac.jp \
    --cc=9front@9front.org \
    /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).