keyoxide-web/content/guides/hackernews.md

52 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2020-08-07 17:04:28 -06:00
# Adding a Hackernews proof
Let's add a decentralized Hackernews proof to your OpenPGP keys.
[[toc]]
## Update the Hackernews account
Log in to [Hackernews](https://news.ycombinator.com) and click on your **username**.
Add the following lines to your **about** (make sure to replace FINGERPRINT):
```
This is an OpenPGP proof that connects my OpenPGP key to this Hackernews account. For details check out https://keyoxide.org/guides/openpgp-proofs
[Verifying my OpenPGP key: openpgp4fpr:FINGERPRINT]
```
## Update the PGP key
First, edit the key (make sure to replace FINGERPRINT):
2021-03-31 06:54:54 -06:00
```
gpg --edit-key FINGERPRINT
```
2020-08-07 17:04:28 -06:00
Add a new notation:
2021-03-31 06:54:54 -06:00
```
notation
```
2020-08-07 17:04:28 -06:00
Enter the notation (make sure to replace USERNAME):
2021-03-31 06:54:54 -06:00
```
proof@metacode.biz=https://news.ycombinator.com/user?id=USERNAME
```
2020-08-07 17:04:28 -06:00
Save the key:
2021-03-31 06:54:54 -06:00
```
save
```
2020-08-07 17:04:28 -06:00
Upload the key to WKD or use the following command to upload the key to [keys.openpgp.org](https://keys.openpgp.org) (make sure to replace FINGERPRINT):
2021-03-31 06:54:54 -06:00
```
gpg --keyserver hkps://keys.openpgp.org --send-keys FINGERPRINT
```
2020-08-07 17:04:28 -06:00
And you're done! Reload your profile page, it should now show a verified Hackernews account.