summaryrefslogtreecommitdiff
path: root/KIKI-PATTERNS.txt
diff options
context:
space:
mode:
authorJames Crayne <jim.crayne@gmail.com>2016-04-24 20:35:44 -0400
committerJames Crayne <jim.crayne@gmail.com>2016-04-24 21:37:04 -0400
commit69dc10fda9b56d440f35f1be08344ebd68054d10 (patch)
treeea0a12aec68cae6b402dbf2485f61a17c4ffcaec /KIKI-PATTERNS.txt
parent51bc655f4b0acb30ff873c8c32c9aacb1408258e (diff)
kiki patterns txt file
Perhaps we should add this to the official documentation.
Diffstat (limited to 'KIKI-PATTERNS.txt')
-rw-r--r--KIKI-PATTERNS.txt44
1 files changed, 44 insertions, 0 deletions
diff --git a/KIKI-PATTERNS.txt b/KIKI-PATTERNS.txt
new file mode 100644
index 0000000..ac9646e
--- /dev/null
+++ b/KIKI-PATTERNS.txt
@@ -0,0 +1,44 @@
1Kiki Patterns
2=============
3
4Although kiki seems at a glance to have a lot of commands, there is a simple
5rule for quickly learning six of them at once, by understanding that they are
6all actually variations of one command which means 'exchange information'.
7
8The variations come from first choosing one of 3 directions of information flow
9(from, to, or both ways), and then choosing from one of 2 different kinds of
10filters on information to exchange(public only, or unfiltered).
11
12The 'from' and 'to' are always relative to your $HOME/.gnupgp folder (or
13wherever you have configured to be your $GNUPGHOME). A 'from'-command copies
14information from your $GNUPGHOME to files in other locations. A 'to'-command
15copies information into keyrings inside $GNUPGHOME from other locations.
16
17Consult the table below to learn the six 'exchange-information' commands of
18kiki:
19
20 from | to | public | secret
21 --------------|------|----|--------|-----------
22 import-public | X | | X |
23 export-public | | X | X |
24 sync-public | X | X | X |
25 import-secret | X | | X | X
26 export-secret | | X | X | X
27 sync-secret | X | X | X | X
28
29
30The four columns of this table are explained thusly:
31
32 from: information flows out of $GNUPGHOME
33 to: information flows into $GNUPGHOME
34
35 public: public information is copied
36 secret: private information is copied
37
38Note that the sync-secret command is the most powerful command, capable of
39exchanging information of either variety and in either direction and
40simultaneously. Indeed, the presence of the other 5 commands is merely to make
41kiki less error prone. The idea being, if you use import-public it is
42impossible to accidentally copy secret data to your keyring and impossible to
43accidentally expose any data at all from your keyring.
44