pgp.rst
changeset 2040 850213dfd351
parent 1912 8b81a8f0f692
child 2041 c9c950bc5487
--- a/pgp.rst	Tue Oct 11 16:34:24 2016 +0300
+++ b/pgp.rst	Tue Oct 11 21:34:05 2016 +0300
@@ -6,6 +6,12 @@
 .. contents::
    :local:
 
+Documentation
+=============
+
+https://wiki.archlinux.org/index.php/GnuPG
+  ArchLinux wiki.
+
 What preffered client?
 ======================
 
@@ -125,3 +131,14 @@
 
   $ gpg --verify $file.sig
 
+How to backup private key?
+==========================
+
+Make a copy::
+
+  $ gpg --export-secret-keys --armor $KEYID > privkey.asc
+
+Restore from copy::
+
+  $ gpg --allow-secret-key-import --import privkey.asc
+