Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.

hpr3756 :: Verify yourself on Mastodon with PGP and Keyoxide

Verify your Mastodon account using GnuPG and

<< First, < Previous, , Latest >>

Hosted by Klaatu on 2022-12-26 is flagged as Clean and is released under a CC-BY-SA license.
pgp, gnupg, crypto, identity. 2.

Listen in ogg, spx, or mp3 format. Play now:

Duration: 00:32:20


Keyoxide is a project that parses a PGP key and makes its data available to Mastodon for identity verification.

Added by Ken - 2022-12-27

To list the key

gpg2 --list-secret-keys

To update and export your key

YOUR_GPG_UID=$( gpg2 --list-secret-keys | grep -A1 'sec' | tail -1 | awk '{print $NF}' )

$ gpg2 --list-secret-keys ${YOUR_GPG_UID}

$ gpg2 --edit-key ${YOUR_GPG_UID}

gpg> uid 1

gpg> primary

gpg> notation
Enter the notation:

gpg> showpref 

gpg> save 

$ gpg2 --armor --export ${YOUR_GPG_UID} > pub-key.asc

Upload to

Select Verify email

Click the email link

You should get a message "Your key ${YOUR_GPG_UID} is now published for the identity YOUR_EMAIL_ADDRESS."

Got to your mastodon server https://YOUR-MASTODON-SERVER/settings/profile

And on the page add GPG and${YOUR_GPG_UID}



Subscribe to the comments RSS feed.

Comment #1 posted on 2022-12-27 11:23:42 by Ken Fallon

I have done this

Go do this.
Comment #2 posted on 2022-12-27 21:38:47 by norrist

Me too is Verified.

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Anti Spam Question: What does the P in HPR stand for ?