diff --git a/content/blog/indieauth-using-gpg/index.de.md b/content/blog/indieauth-using-gpg/index.de.md new file mode 100644 index 0000000..c683ece --- /dev/null +++ b/content/blog/indieauth-using-gpg/index.de.md @@ -0,0 +1,20 @@ +--- +title: "IndieAuth mittels GPG/PGP" +author: "" +date: 2021-05-14T11:38:53+02:00 +categories: +tags: + +draft: false +description: "" +--- + +Ich habe [IndieAuth](https://indieweb.org/IndieAuth) wiederentdeckt und wollte es endlich selbst ausprobieren. + +Als Authentifizierungsmethode entschied ich mich für [meinen öffentlichen GPG-Schlüssel](/gpg), da er ohnehin öffentlich ist und es außerdem super spannend und neu für mich ist (da ich noch nie zuvor etwas auf der Konsole signiert habe). + +Nach ein wenig herumprobieren kam ich schließlich auf folgende Lösung: + +`gpg --clearsign --default-key name@beispiel.tld gpgnachricht.txt` + +Natürlich ist diese Variante nicht perfekt. Unter anderem muss ich die zu signierende Nachricht zunächst in eine separate Datei schreiben und die fertige Nachricht wird anschließend in eine neue Datei mit der Endung `.asc` gelegt. Es wäre natürlich viel angenehmer, wenn ich beides direkt auf der Konsole erledigen könnte, ohne lästige Zwischenschritte. diff --git a/content/blog/indieauth-using-gpg/index.en.md b/content/blog/indieauth-using-gpg/index.en.md index 79b8f16..682ae34 100644 --- a/content/blog/indieauth-using-gpg/index.en.md +++ b/content/blog/indieauth-using-gpg/index.en.md @@ -1,5 +1,5 @@ --- -title: "IndieAuth using gpg" +title: "IndieAuth using GPG/PGP" author: "" date: 2021-05-14T11:38:53+02:00 categories: @@ -11,10 +11,10 @@ description: "" I rediscovered [IndieAuth](https://indieweb.org/IndieAuth) and wanted to try it finally. -As authentication method I decided to use [my gpg key](/gpg), because it's public anyway and something interesting and new to me (I actually never signed anything on the console before). +As authentication method, I decided to use [my public GPG key](/gpg) because it's public anyway and something interesting and new to me (I actually never signed anything on the console before). -It took a little try and error before I found the following solution for signing the key: +It took a little trial and error before I found the following solution for signing the key: `gpg --clearsign --default-key name@example.tld gpgmessage.txt` -It's not perfect; it requires to put the message that needs to be signed in a file and puts the signed message in a new file with an `.asc` ending. It would be much nicer if it would allow to do both directly on the console. +It's not perfect; it requires putting the message that needs to be signed in a file and the result gets written in a new file with the extension `.asc`. It would be much nicer if it allowed doing both directly on the console.