ezup.dev

Source Code of Dash Eclipse's Personal Site (ezup.dev)
git clone git://ezup.dev/ezup.dev.git
Log | Files | Refs | README | LICENSE

commit 11e75a9c95a473a514b6fbbb101bc48db2498952
parent 4d452a975f5864f319b70bf99458a3d72605a87c
Author: Dash Eclipse <dash@ezup.dev>
Date:   Mon,  6 Jul 2020 03:32:31 +0000

Fix a typo

Diffstat:
M.web/blog/index.html | 6+++---
M.web/blog/pgp.html | 26+++++++++++++-------------
M.web/blog/rss.xml | 4++--
Mposts/index.org | 2+-
Mposts/rss.org | 2+-
Mpublish.el | 2+-
6 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/.web/blog/index.html b/.web/blog/index.html @@ -1,13 +1,13 @@ <!DOCTYPE html> <html lang="en"> <head> -<!-- 2020-07-03 --> +<!-- 2020-07-06 --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Blog Index</title> <meta name="generator" content="Org mode"> <meta name="author" content="Dash Eclipse"> -<meta name="description" content="Dash Eclipse' Personal Blog" +<meta name="description" content="Dash Eclipse's Personal Blog" > <link rel='icon' type='image/x-icon' href='/favicon.svg'/> <meta name='viewport' content='width=device-width, initial-scale=1'> @@ -31,7 +31,7 @@ <main id="content"> <header> <h1 class="title">Blog Index</h1> -<p class="subtitle">Published on 2020-07-03 by Dash Eclipse.</p> +<p class="subtitle">Published on 2020-07-06 by Dash Eclipse.</p> </header><ul class="org-ul"> <li><p> <a href="pgp.html">OpenPGP Key Generation and Usage</a> diff --git a/.web/blog/pgp.html b/.web/blog/pgp.html @@ -1,7 +1,7 @@ <!DOCTYPE html> <html lang="en"> <head> -<!-- 2020-07-03 --> +<!-- 2020-07-06 --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>OpenPGP Key Generation and Usage</title> @@ -37,8 +37,8 @@ In this article I'm gonna explain how do I generate and use OpenPGP keys. </p> -<section id="outline-container-org7eb5827" class="outline-2"> -<h2 id="org7eb5827"><span class="section-number-2">1</span> Install GnuPG</h2> +<section id="outline-container-org758a8ea" class="outline-2"> +<h2 id="org758a8ea"><span class="section-number-2">1</span> Install GnuPG</h2> <div class="outline-text-2" id="text-1"> <p> On macOS you can use brew to install GnuPG <code>brew install gnupg</code>, you will also need <code>pinentry-mac</code> package if you are going to use it with GUI programs such like Thunderbird with Eng @@ -46,8 +46,8 @@ On macOS you can use brew to install GnuPG <code>brew install gnupg</code>, you </div> </section> -<section id="outline-container-orgab37b0b" class="outline-2"> -<h2 id="orgab37b0b"><span class="section-number-2">2</span> OpenPGP key generation</h2> +<section id="outline-container-org19a7cfb" class="outline-2"> +<h2 id="org19a7cfb"><span class="section-number-2">2</span> OpenPGP key generation</h2> <div class="outline-text-2" id="text-2"> <p> Beside <code>gpg --full-generate-key</code>, you can also create a key with gpg in batch mode<sup><a id="fnr.1" class="footref" href="#fn.1">1</a></sup>. @@ -84,8 +84,8 @@ gpg --batch --generate-key first-last.txt </div> </section> -<section id="outline-container-org309a5f9" class="outline-2"> -<h2 id="org309a5f9"><span class="section-number-2">3</span> Use subkeys</h2> +<section id="outline-container-org93809ea" class="outline-2"> +<h2 id="org93809ea"><span class="section-number-2">3</span> Use subkeys</h2> <div class="outline-text-2" id="text-3"> <p> I use encryption and signing subkeys instead of just use one key for everything, because it's safer when you keep your master key elsewhere and use different keys for different purposes. Debian also recommend to use subkeys.<sup><a id="fnr.2" class="footref" href="#fn.2">2</a></sup> @@ -104,8 +104,8 @@ gpg --edit-key &lt;key-id&gt; passwd </pre> </div> </div> -<div id="outline-container-orga246274" class="outline-3"> -<h3 id="orga246274"><span class="section-number-3">3.1</span> Thunderbird and Enigmail</h3> +<div id="outline-container-org9ee0857" class="outline-3"> +<h3 id="org9ee0857"><span class="section-number-3">3.1</span> Thunderbird and Enigmail</h3> <div class="outline-text-3" id="text-3-1"> <p> I use Thunderbird with Enigmail to send and receive PGP encrypted emails, you can follow <a href="https://ssd.eff.org/en/module/how-use-pgp-mac-os-x">the guide by EFF SSD</a> to set it up. Note you need to install <code>pinentry-mac</code> the package to use GPG with such GUI programs. @@ -117,8 +117,8 @@ I use Thunderbird with Enigmail to send and receive PGP encrypted emails, you ca </div> </div> </div> -<div id="outline-container-orga7a43cb" class="outline-3"> -<h3 id="orga7a43cb"><span class="section-number-3">3.2</span> Git</h3> +<div id="outline-container-org69cd7ca" class="outline-3"> +<h3 id="org69cd7ca"><span class="section-number-3">3.2</span> Git</h3> <div class="outline-text-3" id="text-3-2"> <div class="org-src-container"> <pre class="src src-sh">git config --global gpg.program $(<span class="org-builtin">which</span> gpg) @@ -133,8 +133,8 @@ In case you don't want to sign commits for specific repo, just run <code>git con </p> </div> </div> -<div id="outline-container-org35b4a3b" class="outline-3"> -<h3 id="org35b4a3b"><span class="section-number-3">3.3</span> pass (the standard unix password manager)</h3> +<div id="outline-container-org5ddaa3b" class="outline-3"> +<h3 id="org5ddaa3b"><span class="section-number-3">3.3</span> pass (the standard unix password manager)</h3> <div class="outline-text-3" id="text-3-3"> <p> I use <a href="https://www.passwordstore.org/">pass</a> to manage my passwords, with a different key. pass store passwords in a git repo, you can also store the <code>$GNUPGHOME</code> in a git repo or just in the same repo. diff --git a/.web/blog/rss.xml b/.web/blog/rss.xml @@ -14,8 +14,8 @@ <link>https://ezup.dev/blog/</link> <description><![CDATA[]]></description> <language>en</language> - <pubDate>Fri, 03 Jul 2020 21:00:17 +0000</pubDate> - <lastBuildDate>Fri, 03 Jul 2020 21:00:17 +0000</lastBuildDate> + <pubDate>Mon, 06 Jul 2020 03:32:28 +0000</pubDate> + <lastBuildDate>Mon, 06 Jul 2020 03:32:28 +0000</lastBuildDate> <generator>Emacs 26.3 Org-mode 9.3.7</generator> <webMaster>dash@ezup.dev (Dash Eclipse)</webMaster> <image> diff --git a/posts/index.org b/posts/index.org @@ -1,5 +1,5 @@ #+TITLE: Blog Index #+META_TYPE: website -#+DESCRIPTION: Dash Eclipse' Personal Blog +#+DESCRIPTION: Dash Eclipse's Personal Blog - [[file:pgp.org][OpenPGP Key Generation and Usage]] #+html: <p class='pubdate'>by Dash Eclipse on Jun 30, 2020.</p> \ No newline at end of file diff --git a/posts/rss.org b/posts/rss.org @@ -4,5 +4,5 @@ :PROPERTIES: :RSS_PERMALINK: pgp.html :PUBDATE: 2020-06-30 -:ID: DBEE994F-8DE3-41A7-BA82-74095986AD6A +:ID: A2154ED5-7C3E-4688-BB5B-40D043D4E00A :END: diff --git a/publish.el b/publish.el @@ -74,7 +74,7 @@ returned by `org-list-to-lisp'." (concat "#+TITLE: " title "\n" ;"#+OPTIONS: title:nil\n" "#+META_TYPE: website\n" - "#+DESCRIPTION: Dash Eclipse' Personal Blog\n" + "#+DESCRIPTION: Dash Eclipse's Personal Blog\n" ;;"\n#+ATTR_HTML: :class sitemap\n" ; TODO use org-list-to-subtree instead (org-list-to-org list)))