X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=README.md;h=5cab12ac04497023f2a79844a7763b82674441f0;hb=HEAD;hp=40036d81e721aa53076ccc6d009ded2af401c12f;hpb=a487bac8c20d1d3fdf092d8db64763273396251d;p=user%2Fhenk%2Fcode%2Fshell%2Frif.git diff --git a/README.md b/README.md index 40036d8..5cab12a 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,8 @@ just connect to their computer! It's a bit geeky, but it works actually rather simple. To become a real IPv6 friend, you need to do the following things: -- Generate a GPG key with a comment named **RIF** following the URL of - your computer (f.i. **RIF https://nico.ungleich.cloud**) +- Generate a GPG key with a comment named **RI6F** following the URL of + your computer (f.i. **RI6F https://nico.ungleich.cloud**) - Ensure that the URL points to the IPv6 address of your computer - Setup a webserver on your computer - Export your key and all real IPv6 friend keys to your webserver as @@ -79,9 +79,9 @@ Is this correct? (y/N) y GnuPG needs to construct a user ID to identify your key. Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? c -Comment: RIF https://nico.ungleich.cloud +Comment: RI6F https://nico.ungleich.cloud You selected this USER-ID: - "Nico Schottelius (RIF https://nico.ungleich.cloud) " + "Nico Schottelius (RI6F https://nico.ungleich.cloud) " Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o We need to generate a lot of random bytes. It is a good idea to perform @@ -99,7 +99,7 @@ public and secret key created and signed. pub ed25519 2019-09-09 [SC] B982A8BABC030C66DEF5984527541E11E73F288D -uid Nico Schottelius (RIF https://nico.ungleich.cloud) +uid Nico Schottelius (RI6F https://nico.ungleich.cloud) sub cv25519 2019-09-09 [E] @@ -120,7 +120,7 @@ sudo chown $(whoami) /var/www/html To make yourself accessible and expose who your real IPv6 friends are. ``` -gpg -a --export RIF > /var/www/html/rifkeys +gpg -a --export RI6F > /var/www/html/rifkeys ``` ### Example: List your friends @@ -128,9 +128,9 @@ gpg -a --export RIF > /var/www/html/rifkeys 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) -Nico Schottelius (myself) (RIF https://nico2.ungleich.cloud) +[1:40] line:~% gpg --list-keys --with-colons | grep RI6F | awk -F: '{ print $10 }' | sed 's/\\x3a/:/' +Nico Schottelius (RI6F https://nico.ungleich.cloud) +Nico Schottelius (myself) (RI6F https://nico2.ungleich.cloud) ``` @@ -175,7 +175,7 @@ In any case, to update your friend list, simply repeat the command you ran above already in the beginning: ``` -gpg -a --export RIF > /var/www/html/rifkeys +gpg -a --export RI6F > /var/www/html/rifkeys ``` Or use the included `rif-exportfriends.sh` @@ -206,7 +206,11 @@ easy is this: printf 'Hello yournamehere!\n I am looking for real IPv6 friends.\n You find my friends on https://nico.ungleich.cloud/rifkeys.\nHow real IPv6 friends find each other is explained on https://code.ungleich.ch/nico/rif.\n Looking forward to befriend you!' | mail -s "friend request" ipv6@your.friend.example.com ``` -And obviously this is waaaaaaaaay to long to type, so +And obviously this is waaaaaaaaay to long to type. That's why +`rif-invitefriends.sh` puts this nicely into a script. + +Attention: this requires a working mail setup on your computer +(i.e. outgoing emails sending by `mail` works). ## Finding friends