From b74563b3ece429824bf9cb5bec133f92ba8ffbe2 Mon Sep 17 00:00:00 2001 From: Tankred Hase Date: Wed, 23 Aug 2017 18:20:22 +0800 Subject: [PATCH] Remove primaryEmail parameter from README --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index b39b7e9..1b7aaee 100644 --- a/README.md +++ b/README.md @@ -124,13 +124,11 @@ POST /api/v1/key ```json { - "publicKeyArmored": "-----BEGIN PGP PUBLIC KEY BLOCK----- ... -----END PGP PUBLIC KEY BLOCK-----", - "primaryEmail": "user@example.com" + "publicKeyArmored": "-----BEGIN PGP PUBLIC KEY BLOCK----- ... -----END PGP PUBLIC KEY BLOCK-----" } ``` * **publicKeyArmored**: The ascii armored public PGP key to be uploaded -* **primaryEmail (optional)**: The ascii armored block is parsed to check for user ids, so this parameter is purely optional. Normally a verification email is sent to every user id found in the pgp key. To prevent this behaviour, user agents can specify the user's primary email address to send out only one email. ### Verify uploaded key (via link in email)