qubes-doc/OpenPGP.md
2015-09-22 09:02:22 +00:00

3.1 KiB
Raw Blame History

layout title permalink redirect_from
doc OpenPGP /doc/OpenPGP/
/doc/UserDoc/OpenPGP/
/wiki/UserDoc/OpenPGP/

Note 2014-08-03: This page is deprecated by SplitGpg. The content of this page has been integrated into that page.

Using OpenPGP in Qubes

One of the main advantages of Qubes is that it allows the user to isolate sensitive data in network-disconnected VMs. This is particularly useful in the case of securing secret keys. Work on split GPG is currently ongoing (#474), but it's still possible to set up a very secure system right now.

Basic Instructions

The basic procedure is to create a master keypair and any number of signing/encryption subkeys in your ultimately trusted "vault" domain. The secret portion of the master keypair should never leave your vault. The public portion of the master key, along with the subkeys, can then be copied to any number of less trusted domains, e.g. "work," where they will be used normally. If your work domain is ever compromised (and your subkeys along with it), your master key will still be safe, and you can issue new subkeys. For detailed instructions, see the tutorials and discussions below.

Security Recommendations

(Note: Here "vault" refers to whichever domain you have chosen to house the secret portion of your master keypair.)

  1. Key Isolation

All keys should be created in the vault, and the secret portion of the master keypair should never leave it.

  1. No Vault Networking

The vault should not be connected to a network (NetVM: none).

  1. No Vault Importing

Untrusted files should never be imported into the vault. In addition to the networking restriction in point 2, this means not copying untrusted files to the vault. Whether any given file is "untrusted" is an individual user decision, but we recommend that users never copy from a less trusted domain to a more trusted domain. At present, this means that there is no secure way to sign other people's keys with the master key.

Tutorials and Discussions

(Note: Although some of the tutorials below were not written with Qubes in mind, they can be adapted to Qubes with a few adjustments. As always, exercise caution and use your good judgment.)