24 lines
453 B
Text
24 lines
453 B
Text
# 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
|
|
$ gpg --list-options show-only-fpr-mbox -k keyID | /usr/lib/gnupg/gpg-wks-client -v --install-key
|
|
```
|
|
|
|
Then publish to your web server. https://example.com/.well-known/openpgpkey/hu/
|