Is there any Python API which can fetch a PGP public key from the public key server?
You can use HTTP (urllib2 and beautiful soup would be my choice) if you're querying the MIT PGP keyserver.
来源:https://stackoverflow.com/questions/1254425/python-api-to-fetch-pgp-public-key-from-key-server