mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2025-01-27 23:07:16 -05:00
Minor wording changes
This commit is contained in:
parent
b19f2c7cd2
commit
40f312f5c0
@ -62,8 +62,8 @@ Optional Preparation Steps
|
|||||||
--------------------------
|
--------------------------
|
||||||
|
|
||||||
1. Start with a minimal template. In this example, we'll use the
|
1. Start with a minimal template. In this example, we'll use the
|
||||||
[minimal Fedora template][FedoraMinimal]. Download it if you haven't already
|
[minimal Fedora template][FedoraMinimal]. Get it if you haven't already done
|
||||||
done so:
|
so:
|
||||||
|
|
||||||
[user@dom0 ~]$ sudo qubes-dom0-update qubes-template-fedora-21-minimal
|
[user@dom0 ~]$ sudo qubes-dom0-update qubes-template-fedora-21-minimal
|
||||||
|
|
||||||
@ -110,10 +110,12 @@ is largely the same.
|
|||||||
[user@mfa ~]$ oathtool --base32 --totp "xd2n mx5t ekg6 h6bi u74d 745k n4m7 zy3x"
|
[user@mfa ~]$ oathtool --base32 --totp "xd2n mx5t ekg6 h6bi u74d 745k n4m7 zy3x"
|
||||||
279365
|
279365
|
||||||
|
|
||||||
In this case, the token you would enter is `279365`. (Note that this is a
|
The output is `279365`. This is what you would enter when prompted for an
|
||||||
*time*-based one-time password, which means that your VM's clock must be
|
authenticator code. (Note that this is a *time*-based one-time password,
|
||||||
sufficiently accurate in order to generate a valid token and that the token
|
which means that your VM's clock must be sufficiently accurate in order to
|
||||||
will change after a short period of time.)
|
generate a valid token. Qubes handles VM time syncing automatically, so you
|
||||||
|
normally shouldn't have to worry about this. As usual, the token will change
|
||||||
|
after a short period of time.)
|
||||||
|
|
||||||
3. To make this easier on ourselves in the future, we can create a simple shell
|
3. To make this easier on ourselves in the future, we can create a simple shell
|
||||||
script for each service we use (the example here is Google):
|
script for each service we use (the example here is Google):
|
||||||
@ -129,10 +131,10 @@ is largely the same.
|
|||||||
[user@mfa ~]$ chmod +x google
|
[user@mfa ~]$ chmod +x google
|
||||||
|
|
||||||
Since the secret key stored in our script never changes, we should never
|
Since the secret key stored in our script never changes, we should never
|
||||||
have to update this script.
|
have to update this script, but we can easily do so if we ever want to.
|
||||||
|
|
||||||
4. Now, whenever a service prompts us for an authenticator code, all we have to
|
4. Now, whenever Google prompts us for an authenticator code, all we have to do
|
||||||
do is this:
|
is this:
|
||||||
|
|
||||||
[user@mfa ~]$ ./google
|
[user@mfa ~]$ ./google
|
||||||
640916
|
640916
|
||||||
@ -140,7 +142,8 @@ is largely the same.
|
|||||||
Done!
|
Done!
|
||||||
|
|
||||||
5. Create similar scripts for other services you use, and enjoy the security
|
5. Create similar scripts for other services you use, and enjoy the security
|
||||||
and ease of quickly generating TOTP tokens from a Qubes VM command-line:
|
and ease of quickly generating TOTP tokens right from your Qubes VM
|
||||||
|
command-line:
|
||||||
|
|
||||||
[user@mfa ~]$ ./github
|
[user@mfa ~]$ ./github
|
||||||
495272
|
495272
|
||||||
|
Loading…
x
Reference in New Issue
Block a user