mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-23 07:19:28 -07:00
Add gitea guide
This commit is contained in:
parent
ab9938809b
commit
5d7fac346c
1 changed files with 49 additions and 0 deletions
49
guides/gitea.md
Normal file
49
guides/gitea.md
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
# Adding a Gitea proof
|
||||||
|
|
||||||
|
Let's add a decentralized Gitea proof to your OpenPGP keys. This will also work on self-hosted instances.
|
||||||
|
|
||||||
|
[[toc]]
|
||||||
|
|
||||||
|
## Post a Gitea proof message
|
||||||
|
|
||||||
|
Log in to a gitea instance like [codeberg.org](https://codeberg.org) and click on **Create new repository**.
|
||||||
|
|
||||||
|
Set the repository name to **gitea_proof**.
|
||||||
|
|
||||||
|
Set the project description to (make sure to replace FINGERPRINT):
|
||||||
|
|
||||||
|
```
|
||||||
|
[Verifying my OpenPGP key: openpgp4fpr:FINGERPRINT]
|
||||||
|
```
|
||||||
|
|
||||||
|
Optional: edit the README.md to this:
|
||||||
|
|
||||||
|
```
|
||||||
|
This is an OpenPGP proof that connects my OpenPGP key to this Gitea account. For details check out https://keyoxide.org/guides/openpgp-proofs
|
||||||
|
```
|
||||||
|
|
||||||
|
After creating the project, copy the link to the project.
|
||||||
|
|
||||||
|
## Update the PGP key
|
||||||
|
|
||||||
|
First, edit the key (make sure to replace FINGERPRINT):
|
||||||
|
|
||||||
|
`gpg --edit-key FINGERPRINT`
|
||||||
|
|
||||||
|
Add a new notation:
|
||||||
|
|
||||||
|
`notation`
|
||||||
|
|
||||||
|
Enter the notation (make sure to update with the link to the project copied above):
|
||||||
|
|
||||||
|
`proof@metacode.biz=https://gitea.example.com/USERNAME/gitea_proof`
|
||||||
|
|
||||||
|
Save the key:
|
||||||
|
|
||||||
|
`save`
|
||||||
|
|
||||||
|
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):
|
||||||
|
|
||||||
|
`gpg --keyserver hkps://keys.openpgp.org --send-keys FINGERPRINT`
|
||||||
|
|
||||||
|
And you're done! Reload your profile page, it should now show a verified Gitea account.
|
Loading…
Reference in a new issue