mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2025-11-27 15:10:51 -05:00
fixed errors with pygments's highlighting
This commit is contained in:
parent
7e76afb1a4
commit
49138e68f0
1 changed files with 13 additions and 13 deletions
|
|
@ -23,9 +23,9 @@ Configuration
|
||||||
|
|
||||||
Create/Edit ``/etc/qubes/policy.d/30-user-gpg2.policy`` in dom0, and add a line like this:
|
Create/Edit ``/etc/qubes/policy.d/30-user-gpg2.policy`` in dom0, and add a line like this:
|
||||||
|
|
||||||
.. code:: console
|
.. code:: text
|
||||||
|
|
||||||
$ qubes.Gpg2 + gpg-client-vm @default allow target=gpg-server-vm
|
qubes.Gpg2 + gpg-client-vm @default allow target=gpg-server-vm
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -33,8 +33,8 @@ Import/Generate your secret keys in the server domain. For example:
|
||||||
|
|
||||||
.. code:: console
|
.. code:: console
|
||||||
|
|
||||||
$ gpg-server-vm$ gpg --import /path/to/my/secret-keys-export
|
gpg-server-vm$ gpg --import /path/to/my/secret-keys-export
|
||||||
$ gpg-server-vm$ gpg --import-ownertrust /path/to/my/ownertrust-export
|
gpg-server-vm$ gpg --import-ownertrust /path/to/my/ownertrust-export
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -42,7 +42,7 @@ or
|
||||||
|
|
||||||
.. code:: console
|
.. code:: console
|
||||||
|
|
||||||
$ gpg-server-vm$ gpg --gen-key
|
gpg-server-vm$ gpg --gen-key
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -62,9 +62,9 @@ To verify if this was done correctly:
|
||||||
|
|
||||||
Output should be:
|
Output should be:
|
||||||
|
|
||||||
.. code:: console
|
.. code:: output
|
||||||
|
|
||||||
$ split-gpg2-client on
|
split-gpg2-client on
|
||||||
|
|
||||||
|
|
||||||
Restart the client domain.
|
Restart the client domain.
|
||||||
|
|
@ -73,12 +73,12 @@ Export the **public** part of your keys and import them in the client domain. Al
|
||||||
|
|
||||||
.. code:: console
|
.. code:: console
|
||||||
|
|
||||||
$ gpg-server-vm$ gpg --export > public-keys-export
|
gpg-server-vm$ gpg --export > public-keys-export
|
||||||
$ gpg-server-vm$ gpg --export-ownertrust > ownertrust-export
|
gpg-server-vm$ gpg --export-ownertrust > ownertrust-export
|
||||||
$ gpg-server-vm$ qvm-copy public-keys-export ownertrust-export
|
gpg-server-vm$ qvm-copy public-keys-export ownertrust-export
|
||||||
|
|
||||||
$ gpg-client-vm$ gpg --import ~/QubesIncoming/gpg-server-vm/public-keys-export
|
gpg-client-vm$ gpg --import ~/QubesIncoming/gpg-server-vm/public-keys-export
|
||||||
$ gpg-client-vm$ gpg --import-ownertrust ~/QubesIncoming/gpg-server-vm/ownertrust-export
|
gpg-client-vm$ gpg --import-ownertrust ~/QubesIncoming/gpg-server-vm/ownertrust-export
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -86,7 +86,7 @@ This should be enough to have it running:
|
||||||
|
|
||||||
.. code:: console
|
.. code:: console
|
||||||
|
|
||||||
$ gpg-client-vm$ gpg -K
|
gpg-client-vm$ gpg -K
|
||||||
/home/user/.gnupg/pubring.kbx
|
/home/user/.gnupg/pubring.kbx
|
||||||
-----------------------------
|
-----------------------------
|
||||||
sec# rsa2048 2019-12-18 [SC] [expires: 2021-12-17]
|
sec# rsa2048 2019-12-18 [SC] [expires: 2021-12-17]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue