diff options
author | Nico Schottelius <nico@nico-notebook.schottelius.org> | 2019-09-10 02:03:49 +0900 |
---|---|---|
committer | Nico Schottelius <nico@nico-notebook.schottelius.org> | 2019-09-10 02:03:49 +0900 |
commit | 5e7312aca321c8fee753f0734144923f1d8f55ad (patch) | |
tree | 41a3f5888907846b32f38b05018751860c9bfd5c /README.md | |
parent | 3b8e2bff869096edf9ab0dead1c61eeae26a3d4f (diff) |
Add script to listfriends and to import friends
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 28 |
1 files changed, 27 insertions, 1 deletions
@@ -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 |