hkp-client
Use this for searching and fetching keys from public-key servers implementing the OpenPGP HTTP Keyserver Protocol (HKP).
Search
var hkp = ;var keyserver = 'http://pgp.mit.edu:11371';var search = 'torvalds@linux-foundation.org';hkp;
[
{
uid: {
user: 'Linus Torvalds <torvalds@linux-foundation.org>',
time: '1316554898'
},
pub: {
keyId: '00411886',
bits: '2048',
time: '1316554898'
}
}
]
Fetch
var hkp = ;var keyserver = 'http://pgp.mit.edu:11371';var keyId = '00411886';hkp;
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: SKS 1.1.0
...
...
-----END PGP PUBLIC KEY BLOCK-----