summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zk/config.toml9
-rw-r--r--.zk/templates/journal.md14
-rw-r--r--b9pvpp.md38
-rw-r--r--journal/2026-02-15.mdbin0 -> 3613 bytes
4 files changed, 61 insertions, 0 deletions
diff --git a/.zk/config.toml b/.zk/config.toml
index c6d5b4a..5c181ca 100644
--- a/.zk/config.toml
+++ b/.zk/config.toml
@@ -75,6 +75,13 @@ id-length = 6
#[group."<NAME>".extra]
#key = "value"
+[group.journal]
+paths = ["journal/**"]
+
+[group.journal.note]
+filename = "{{format-date now}}"
+template = "journal.md"
+
# MARKDOWN SETTINGS
[format.markdown]
@@ -219,5 +226,7 @@ rethought = 'zk new --no-input --template="rethought.md"'
reference = 'zk new --no-input --template="reference.md"'
knowledge = 'zk new --no-input --template="knowledge.md"'
+journal = 'zk new --no-input journal'
+
# Fix commands
fix-backlinks = "zk edit --interactive --missing-backlink"
diff --git a/.zk/templates/journal.md b/.zk/templates/journal.md
new file mode 100644
index 0000000..40517ed
--- /dev/null
+++ b/.zk/templates/journal.md
@@ -0,0 +1,14 @@
+---
+id: {{id}}
+date: {{format-date now "%FT%T%z"}}
+languages: []
+aliases:
+
+reviews:
+
+tags:
+- journal
+---
+# {{format-date now}}
+
+{{content}}
diff --git a/b9pvpp.md b/b9pvpp.md
new file mode 100644
index 0000000..650aa2a
--- /dev/null
+++ b/b9pvpp.md
@@ -0,0 +1,38 @@
+---
+id: b9pvpp
+date: 2026-02-15T17:24:49+0300
+languages: [en]
+aliases:
+
+reviews:
+
+tags:
+- draft
+- knowledge
+
+- gnupg
+---
+# Create signature using GPG
+
+To create simple sign using GnuPG:
+```sh
+cat file | gpg --sign # Binary message and signature
+cat file | gpg --sign --armor # ASCII message and signature
+
+gpg --sign file # Creates binary .asc file
+gpg --sign --armor file # Creates ASCII .asc file
+```
+
+To create clear sign (shows message inside) using GnuPG:
+```sh
+cat file | gpg --clear-sign # ASCII clear message and signature
+```
+
+To create detached sign using GnuPG:
+```sh
+cat file | gpg --detach-sign # Binary detached signature
+cat file | gpg --detach-sign --armor # ASCII detached signature
+```
+
+## Up
+-
diff --git a/journal/2026-02-15.md b/journal/2026-02-15.md
new file mode 100644
index 0000000..8e4b1f8
--- /dev/null
+++ b/journal/2026-02-15.md
Binary files differ