aboutsummaryrefslogtreecommitdiff
path: root/gpg
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-04-03 00:37:03 +0200
committerMateja <mail@matejamaric.com>2021-04-03 00:37:03 +0200
commita945feb02f6d64df2219ea1044251a7fe2ea98fc (patch)
treefe0242495eb35317fd5358e403a047657dfa04b5 /gpg
downloadmisc-a945feb02f6d64df2219ea1044251a7fe2ea98fc.tar.gz
misc-a945feb02f6d64df2219ea1044251a7fe2ea98fc.zip
Initial commit.
Diffstat (limited to 'gpg')
-rw-r--r--gpg15
1 files changed, 15 insertions, 0 deletions
diff --git a/gpg b/gpg
new file mode 100644
index 0000000..c20860a
--- /dev/null
+++ b/gpg
@@ -0,0 +1,15 @@
+gpg -k
+gpg -K
+
+gpg --verify gnupg-2.2.21.tar.bz2.sig gnupg-2.2.21.tar.bz2
+
+gpg --edit-key 0x12345678
+gpg> key 0
+gpg> expire
+gpg> key 1
+gpg> expire
+gpg> save
+
+gpg --armor --export mail@example.com > example-key.asc
+gpg --output public.pgp --armor --export username@email
+gpg --output private.pgp --armor --export-secret-key username@email