]> git.netwichtig.de Git - user/henk/code/shell/rif.git/blobdiff - README.md
Add script to listfriends and to import friends
[user/henk/code/shell/rif.git] / README.md
index 0cbcd485951f2d01dae3f53a01f6ace7f1075551..050f0bb523cc8e42e69273745f7b170275b86f1a 100644 (file)
--- a/README.md
+++ b/README.md
@@ -28,7 +28,9 @@ To become a real IPv6 friend, you need to do the following things:
 - Setup a webserver on your computer
 - Export your key and all real IPv6 friend keys to your webserver as
   "rifkeys.txt
-- For each of your friends, check whether they are online!
+- For each of your friends, check whether they are online
+- Import the friends of your friends and check whether they are
+  online, too!
 
 ### Example: Generating a key with the right comment
 
@@ -122,21 +124,45 @@ gpg -a --export RIF > /var/www/html/rifkeys
 
 ### Example: List your friends
 
+You can use the included rif-listfriends.sh or directly gpg:
+
 ```
 [1:40] line:~% gpg --list-keys --with-colons | grep RIF | awk -F: '{ print $10 }' | sed 's/\\x3a/:/'
 Nico Schottelius (RIF https://nico.ungleich.cloud) <ipv6@nico.ungleich.cloud>
 Nico Schottelius (myself) (RIF https://nico2.ungleich.cloud) <nico@nico.ungleich.cloud>
 ```
 
+
 ### Example: Checking which friends are online
 
 Use the included rif-checkfriends.sh script or iterate yourself over
 above output.
 
 ```
+[1:54] line:realipv6friend% sh rif-checkfriends.sh
+Checking Nico Schottelius  on https://nico.ungleich.cloud ...
+Nico Schottelius is online
+Checking Nico Schottelius (myself)  on https://nico2.ungleich.cloud ...
+Nico Schottelius (myself) is offline
+[1:54] line:realipv6friend%
+
+```
+
+### Example: Importing friends of my friend
 
+Importing friends of a friend is as simple as importing all the
+exported keys! We import friends directly from the URL of a friend:
 
 ```
+curl -6 -s https://nico.ungleich.cloud/rifkeys | gpg --import
+```
+
+You can also use
+
+### Example: Sending a message to a friend
+
+Simply use your mail program for that.
+And obviously enable signing & encrypting the email.
 
 
 ## To be added