Also export friends

This commit is contained in:
Nico Schottelius 2019-09-10 02:12:31 +09:00
parent 5e7312aca3
commit de5564a4c6
2 changed files with 36 additions and 1 deletions

View File

@ -157,7 +157,26 @@ exported keys! We import friends directly from the URL of a friend:
curl -6 -s | gpg --import
You can also use
You can also use the included
### 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 ``
### Example: Sending a message to a friend

16 Executable file
View File

@ -0,0 +1,16 @@
# 2019-09-10, Nico Schottelius, Seoul
if [ $# -ne 1 ]; then
echo "$0: <webserver directory>"
echo 'Export your friends to the web!'
exit 1
dir=$1; shift
gpg -a --export RIF > "$keys"
# Ensure everyone can read them
chmod 0644 "$keys"