<dl>
<dt>Get GnuPG by downloading GPG4Win</dt>
-<dd><a href="https://www.gpg4win.org/">GPG4Win</a> is a email and file encryption software package that includes GnuPG. Download and install the latest version, choosing default options whenever asked. After it's installed, you can close any windows that it creates.<br/>
-
+<dd><p><a href="https://www.gpg4win.org/">GPG4Win</a> is a email and file encryption software package that includes GnuPG. Download and install the latest version, choosing default options whenever asked. After it's installed, you can close any windows that it creates.</p>
<p class="notes">To follow the rest of the steps in this guide, you'll use the program called "PowerShell", which is a program you'll see elsewhere referred to as a "terminal." This allows you to operate your computer using the command line.</p>
</dd>
<h6>Export your key to a file</h6>
<p>Use the following command to export your secret key so you can import it into your email client at the next <a href="#section3">step</a>. To avoid getting your key compromised, store this in a safe place, and make sure that if it is transferred, it is done so in a trusted way. Exporting your keys can be done with the following commands:</p>
-<span style="color:#2f5faa; font-family: monospace;">
+<p><span style="color:#2f5faa; font-family: monospace;">
$ gpg --export-secret-keys -a [keyid] > my_secret_key.asc<br/>
-$ gpg --export -a [keyid] > my_public_key.asc<br/>
-</span><br />
+$ gpg --export -a [keyid] > my_public_key.asc
+</span></p>
<br />
<dl>
<dt>My key doesn't seem to be working or I get a "permission denied."</dt>
-<dd>Like every other file or folder, gpg keys are subject to permissions. If these are not set correctly, your system may not be accepting your keys. You can follow the next steps to check, and update to the right permissions.<br/><br/>
+<dd><p>Like every other file or folder, gpg keys are subject to permissions. If these are not set correctly, your system may not be accepting your keys. You can follow the next steps to check, and update to the right permissions.</p>
-# Check your permissions: <span style="color:#2f5faa; font-family: monospace;">ls -l ~/.gnupg/*</span><br/><br/>
-# Set permissions to read, write, execute for only yourself, no others. These are the recommended permissions for your folder. <br/>
-You can use the code <span style="color:#2f5faa; font-family: monospace;">chmod 700 ~/.gnupg</span><br/><br/>
-# Set permissions to read and write for yourself only, no others. These are the recommended permissions for the keys inside your folder. <br/>
-You can use the code: <span style="color:#2f5faa; font-family: monospace;">chmod 600 ~/.gnupg/*</span><br/><br/>
+<p># Check your permissions: <span style="color:#2f5faa; font-family: monospace;">ls -l ~/.gnupg/*</span></p>
+<p># Set permissions to read, write, execute for only yourself, no others. These are the recommended permissions for your folder. <br/>
+You can use the code <span style="color:#2f5faa; font-family: monospace;">chmod 700 ~/.gnupg</span></p>
+<p># Set permissions to read and write for yourself only, no others. These are the recommended permissions for the keys inside your folder. <br/>
+You can use the code: <span style="color:#2f5faa; font-family: monospace;">chmod 600 ~/.gnupg/*</span></p>
-<p class="notes">If you have (for any reason) created your own folders inside ~/.gnupg, you must also additionally apply execute permissions to that folder. Folders require execution privileges to be opened. For more information on permissions, you can check out <a href="https://helpdeskgeek.com/linux-tips/understanding-linux-permissions-chmod-usage/">this detailed information guide</a>.</p><br/>
+<p class="notes">If you have (for any reason) created your own folders inside ~/.gnupg, you must also additionally apply execute permissions to that folder. Folders require execution privileges to be opened. For more information on permissions, you can check out <a href="https://helpdeskgeek.com/linux-tips/understanding-linux-permissions-chmod-usage/">this detailed information guide</a>.</p>
</dd>
<dt class="feedback">Don't see a solution to your problem?</dt>
<dd class="feedback">Please let us know on the <a
your key</a> as a file on your computer.</dd>
<dt>Transferring your keys</dt>
-<dd>Use the following commands to transfer your keys. To avoid getting your key compromised, store it in a safe place, and make sure that if it is transferred, it is done so in a trusted way. Importing and exporting a key can be done with the following commands:<br/>
+<dd>
+<p>Use the following commands to transfer your keys. To avoid getting your key compromised, store it in a safe place, and make sure that if it is transferred, it is done so in a trusted way. Importing and exporting a key can be done with the following commands:</p>
-<span style="color:#2f5faa; font-family: monospace;">
+<p><span style="color:#2f5faa; font-family: monospace;">
$ gpg --export-secret-keys -a keyid > my_private_key.asc<br/>
$ gpg --export -a keyid > my_public_key.asc<br/>
$ gpg --import my_private_key.asc<br/>
-$ gpg --import my_public_key.asc<br/>
-</span>
+$ gpg --import my_public_key.asc
+</span></p>
<p>Ensure that the keyID printed is the correct one, and if so, then go ahead and add ultimate trust for it:</p>
-<span style="color:#2f5faa; font-family: monospace;">
+
+<p><span style="color:#2f5faa; font-family: monospace;">
$ gpg --edit-key [your@email]
-</span><br/>
+</span></p>
-Because this is your key, you should choose <span style="color:#2f5faa; font-family: monospace;">ultimate</span>. You shouldn't trust anyone else's key ultimately.
+<p>Because this is your key, you should choose <span style="color:#2f5faa; font-family: monospace;">ultimate</span>. You shouldn't trust anyone else's key ultimately.</p>
<p class="notes"> Refer to <a href="#step-2b">troubleshoot in step 2.B</a> for more information on permissions. When transferring keys, your permissions may get mixed, and errors may be prompted. These are easily avoided when your folders and files have the right permissions</p>
</dd>
<div class="main">
<h3><em>Step 3.a</em> Set up your email with encryption</h3>
-Once you have set up your email with encryption, you can start contributing to encrypted traffic on the Internet. First we'll get your email client to import your secret key, and we will also learn how to get other people's public keys from servers so you can send and receive encrypted email.
+
+<p>Once you have set up your email with encryption, you can start contributing to encrypted traffic on the Internet. First we'll get your email client to import your secret key, and we will also learn how to get other people's public keys from servers so you can send and receive encrypted email.</p>
<p># Open your email client and use "Tools" → <span style="color:#2f5faa;">OpenPGP Manager</span></p>
<p># Under "File" → <span style="color:#2f5faa;">Import Secret Key(s) From File</span></p>