--- a/pgp.rst Wed Oct 05 14:58:30 2011 +0300
+++ b/pgp.rst Wed Oct 05 16:36:58 2011 +0300
@@ -15,6 +15,7 @@
* How export key?
$ gpg -a --export $KEYID >$FILE.asc
+ $ gpg --output $PRIVKEY.gpg --armor --export-secret-key $KEYID
* How create own PGP key?
@@ -30,12 +31,22 @@
$ gpg --keyserver pgp.mit.edu --send-key $KEYID
-* How keys in local db.
+* What keys in local db?
$ gpg -list-keys
$ gpg -list-keys $KEYID
$ gpg -list-keys $EMAIL
+ $ gpg --list-secret-keys
+
+* How delete key?
+
+ $ gpg --delete-key $KEYID
+ $ gpg --delete-key $USER
+ $ gpg --delete-key $EMAIL
+
+ $ gpg --delete-secret-key $KEYID
+
* How sign file?
To sign with first key