author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Fri, 26 Aug 2011 00:16:37 +0300 | |
changeset 957 | e51f976fd162 |
parent 899 | 7b4265c8d324 |
child 1016 | a8299102ebb1 |
permissions | -rw-r--r-- |
899
7b4265c8d324
Set fill-column as directory local var.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
859
diff
changeset
|
1 |
-*- mode: outline; coding: utf-8; -*- |
9 | 2 |
|
3 |
* What preffered client? |
|
4 |
||
5 |
GNU gpg. |
|
6 |
||
7 |
* How import keys from key-server? |
|
8 |
||
9 |
$ gpg --keyserver pgp.mit.edu --recv-keys 0x353E25BC |
|
859 | 10 |
|
11 |
* How create own PGP key? |
|
12 |
||
13 |
$ gpg --gen-key # answer the question |
|
14 |
... |
|
15 |
$ gpg -o $keyfile --export-secret-keys $NAME |
|
16 |
||
17 |
* How import keys from file? |
|
18 |
||
19 |
$ gpg --import $keyfile |
|
20 |
||
21 |
* How submit public key to key server? |
|
22 |
||
23 |
$ gpg --keyserver pgp.mit.edu --send-key ${key_ID} |
|
24 |
||
25 |
* How keys in local db. |
|
26 |
||
27 |
$ gpg -list-keys ${user_ID} |
|
28 |
||
29 |
* How sign file? |
|
30 |
||
31 |
To sign with first key |
|
32 |
||
33 |
$ gpg -o $file.sig --sign $file |
|
34 |
$ gpg --default-key $NAME -o $file.sig --sign $file |
|
35 |
$ gpg -u ${USER_NAME} -o $file.sig --sign $file |
|
36 |
||
37 |
* How verify signature? |
|
38 |
||
39 |
$ gpg --verify $file.sig |
|
40 |