Update README.md

This commit is contained in:
nickmi
2018-10-23 23:05:24 +03:00
committed by GitHub
parent 50e522f34a
commit cdec95cb21

View File

@@ -416,9 +416,8 @@ var options = {
query: 'alice@example.com'
};
hkp.lookup(options).then( async function(key) {
var pubkey = await openpgp.key.readArmored(key);
});
let armoredPubkey = await hkp.lookup(options);
var pubkey = await openpgp.key.readArmored(armoredPubkey);
```
#### Upload public key to HKP server