summaryrefslogtreecommitdiff
path: root/b9pvpp.md
diff options
context:
space:
mode:
Diffstat (limited to 'b9pvpp.md')
-rw-r--r--b9pvpp.md38
1 files changed, 38 insertions, 0 deletions
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
+-