aboutsummaryrefslogtreecommitdiffstats
path: root/README-mkinitcpio.md
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2016-05-04 21:41:36 +0200
committerGravatar Christian Hesse <mail@eworm.de>2016-05-04 21:41:36 +0200
commit067fceec813a124cd1badda98eb1a4fe218a763f (patch)
tree269ca9b572617dc3f1667062f5139ceb1f0d6e3b /README-mkinitcpio.md
parent7d93b5bc8c519ad65cce1d19dcaf6bc732868161 (diff)
downloadmkinitcpio-ykfde-067fceec813a124cd1badda98eb1a4fe218a763f.tar.gz
mkinitcpio-ykfde-067fceec813a124cd1badda98eb1a4fe218a763f.tar.zst
update documentation again, give real example
Diffstat (limited to 'README-mkinitcpio.md')
-rw-r--r--README-mkinitcpio.md18
1 files changed, 10 insertions, 8 deletions
diff --git a/README-mkinitcpio.md b/README-mkinitcpio.md
index adc07cc..9f2ee4a 100644
--- a/README-mkinitcpio.md
+++ b/README-mkinitcpio.md
@@ -73,21 +73,23 @@ This will store a challenge in `/etc/ykfde.d/` and add a new slot to
your LUKS device. When `ykfde` asks for a passphrase it requires a valid
passphrase from available slot.
-Alternatively, adding a key with second factor is as easy:
+Alternatively, adding a key with second factor (`foo` in this example)
+is as easy:
-> ykfde --new-2nd-factor 2nd-factor
+> ykfde --new-2nd-factor foo
To update the challenge run:
-> ykfde --2nd-factor 2nd-factor
+> ykfde --2nd-factor foo
-And changing second factor is straight forward:
+And changing second factor (from `foo` to `bar` in this example) is
+straight forward:
-> ykfde --2nd-factor current-2nd-factor --new-2nd-factor new-2nd-factor
+> ykfde --2nd-factor foo --new-2nd-factor bar
-The second factor can be read from terminal, increasing security by not
-displaying on display and not writing to shell history. Use switches
-`--ask-2nd-factor` and `--ask-new-2nd-factor` for that.
+The current and new second factor can be read from terminal, increasing
+security by not displaying on display and not writing to shell history.
+Use switches `--ask-2nd-factor` and `--ask-new-2nd-factor` for that.
Make sure to enable second factor in `/etc/ykfde.conf`.