Merge pull request #790 from nickmi/master
fixed key lookup example on README.md
This commit is contained in:
commit
09def1208d
|
@ -416,9 +416,8 @@ var options = {
|
||||||
query: 'alice@example.com'
|
query: 'alice@example.com'
|
||||||
};
|
};
|
||||||
|
|
||||||
hkp.lookup(options).then(function(key) {
|
let armoredPubkey = await hkp.lookup(options);
|
||||||
var pubkey = await openpgp.key.readArmored(key);
|
var pubkey = await openpgp.key.readArmored(armoredPubkey);
|
||||||
});
|
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Upload public key to HKP server
|
#### Upload public key to HKP server
|
||||||
|
|
Loading…
Reference in New Issue
Block a user