Date: Wed, 22 Jul 2020 11:04:54 +0200 From: Gordon Bergling <gbe@freebsd.org> To: Fabian Keil <freebsd-listen@fabiankeil.de> Cc: svn-src-all@freebsd.org Subject: Re: svn commit: r363363 - head/lib/geom/eli Message-ID: <20200722090454.GA82481@lion.0xfce3.net> In-Reply-To: <20200721155419.4b127dac@fabiankeil.de> References: <202007201324.06KDOoti077929@repo.freebsd.org> <20200721155419.4b127dac@fabiankeil.de>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Tue, Jul 21, 2020 at 03:54:19PM +0200, Fabian Keil wrote: > Gordon Bergling <gbe@FreeBSD.org> wrote: > > > Author: gbe (doc committer) > > Date: Mon Jul 20 13:24:50 2020 > > New Revision: 363363 > > URL: https://svnweb.freebsd.org/changeset/base/363363 > > > > Log: > > geli(8): Add an example on how to use geli(8) with a file as encrypted storage > > > > Reviewed by: bcr (mentor) > > Approved by: bcr (mentor) > > MFC after: 1 week > > Differential Revision: https://reviews.freebsd.org/D25741 > > > > Modified: > > head/lib/geom/eli/geli.8 > > > > Modified: head/lib/geom/eli/geli.8 > > ============================================================================== > > --- head/lib/geom/eli/geli.8 Mon Jul 20 13:01:19 2020 (r363362) > > +++ head/lib/geom/eli/geli.8 Mon Jul 20 13:24:50 2020 (r363363) > [...] > > +This key should be protected by a passphrase, which > > +is requested when geli init is called. > > +.Bd -literal -offset indent > > +# dd if=/dev/random of=/root/private0.key bs=64 count=1 > > +# geli init -K /root/private0.key -s 4096 /dev/md0 > > +Enter new passphrase: > > +Reenter new passphrase: > > +# dd if=/dev/random of=/dev/md0.eli bs=1m > > There seems to be a "geli attach ..." missing after > the "geli init ...". > > > +The call of geli attach will ask for the passphrase. > > +It is recommended to do this procedure after the boot, because otherwise > > +the boot process would be waiting for the passphrase input. > > +.Bd -literal -offset indent > > +# geli attach -k /root/private0.key /dev/md0 > > +Enter new passphrase: > > The expected prompt is just "Enter passphrase:". > > Fabian Hi Fabian, your right. I created a differential with the fixes for the example and commit your corrections once the differential is approved. --Gordon [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEEYbWI0KY5X7yH/Fy4OQX2V8rP09wFAl8YATVfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYx QjU4OEQwQTYzOTVGQkM4N0ZDNUNCODM5MDVGNjU3Q0FDRkQzREMACgkQOQX2V8rP 09yINAf6AxvuA+nGHaYj38AqSzTUTHsaiBMDRF18gUngKEOboB2dzRH9qXN4pSYE y9vRnAXHKxkrmVJdrJkav1PFWpoQAiZTS/IiRRW2+YVxbnsnsnfWK2IXqOxLmZ47 2T1s37ZkQkJpJcINh9Crxz7LBxIhkLthTPvHNIkGVpZOxUy3CfuMA1tQhPmhdj0l f/Uod0oAbPckQ0SqsDuqKp7HmhCdmbIjGWMytXbim7k7KY2apNZKowGULwhCEmDM j5AHD9MGYRX/N85QAVV698TFhWVVrlPaRkqfaCPoYCDYC+IK3J31qe8CVsSpwOeu wVZ272TRImkaa+hOYF/sg2bXGDaddA== =VzkM -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200722090454.GA82481>
