X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=README.md;h=712500433ec9bf5ebeba2265619e4d9d2440ddc0;hb=de5564a4c64dfd223ef069ce1ff08c429ab0553a;hp=0cbcd485951f2d01dae3f53a01f6ace7f1075551;hpb=3b8e2bff869096edf9ab0dead1c61eeae26a3d4f;p=user%2Fhenk%2Fcode%2Fshell%2Frif.git diff --git a/README.md b/README.md index 0cbcd48..7125004 100644 --- 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,64 @@ 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) Nico Schottelius (myself) (RIF https://nico2.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 the included rif-importfriends.sh. + +### Example: Updating your friends + +Now that you have imported the friends of your friends, they have +automatically also become your friends! + +Obviously, you will want to check whether you even want to sign some +of the friends (keys) that you downloaded, but clearly you want to +show off with the biggest amount of friends (that's what is most +important anyway, isn't it?). + +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 +``` + +Or use the included `rif-exportfriends.sh` + +### Example: Sending a message to a friend + +Simply use your mail program for that. +And obviously enable signing & encrypting the email. ## To be added