mkdocs-benoit.jp.net/HowtoGPG.page

24 lines
475 B
Text
Raw Normal View History

2020-12-08 08:15:10 +00:00
# HowtoGPG
Some commands:
```
gpg --card-status
gpg --export-ssh-key keyID
gpg --armor --export keyID > pubkey.asc
```
Use Nitrokey from new system:
```
gpg --import pubkey.asc
gpg --card-status
```
Export your public key to your web server:
```
$ mkdir openpgpkey
2020-12-08 08:39:25 +00:00
$ gpg --list-options show-only-fpr-mbox -k keyID | /usr/lib/gnupg/gpg-wks-client -v --install-key
```
2020-12-08 09:29:33 +00:00
Then publish to your web server. https://openpgpkey.example.com/.well-known/openpgpkey/example.com/hu/