Descripe howto upload a key from shell
This commit is contained in:
parent
6f21406afd
commit
8a9a7be0c7
@ -130,6 +130,12 @@ POST /api/v1/key
|
|||||||
|
|
||||||
* **publicKeyArmored**: The ascii armored public PGP key to be uploaded
|
* **publicKeyArmored**: The ascii armored public PGP key to be uploaded
|
||||||
|
|
||||||
|
E.g. to upload a key from shell:
|
||||||
|
```bash
|
||||||
|
curl https://keys.mailvelope.com/api/v1/key --data "{\"publicKeyArmored\":\"$( \
|
||||||
|
gpg --armor --export-options export-minimal --export $GPGKEYID | sed ':a;N;$!ba;s/\n/\\n/g' \
|
||||||
|
)\"}"
|
||||||
|
```
|
||||||
|
|
||||||
### Verify uploaded key (via link in email)
|
### Verify uploaded key (via link in email)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user