website/content/blog/indieauth-using-gpg/index.en.md

21 lines
856 B
Markdown
Raw Normal View History

---
2023-03-15 12:20:02 +01:00
title: "IndieAuth using GPG/PGP"
author: ""
date: 2021-05-14T11:38:53+02:00
categories:
tags:
draft: false
2023-03-15 12:20:39 +01:00
description: "I rediscovered IndieAuth and wanted to try it finally."
---
I rediscovered [IndieAuth](https://indieweb.org/IndieAuth) and wanted to try it finally.
2023-03-15 12:20:02 +01:00
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).
2023-03-15 12:20:02 +01:00
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`
2023-03-15 12:20:02 +01:00
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.