translate and revise article

This commit is contained in:
Vri 🌈 2023-03-15 12:20:02 +01:00
parent 902a56406e
commit a958361753
Signed by: vrifox
GPG key ID: D40098E5B60B2197
2 changed files with 24 additions and 4 deletions

View file

@ -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.

View file

@ -1,5 +1,5 @@
--- ---
title: "IndieAuth using gpg" title: "IndieAuth using GPG/PGP"
author: "" author: ""
date: 2021-05-14T11:38:53+02:00 date: 2021-05-14T11:38:53+02:00
categories: categories:
@ -11,10 +11,10 @@ description: ""
I rediscovered [IndieAuth](https://indieweb.org/IndieAuth) and wanted to try it finally. 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` `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.