pgp module loading, generating, and displaying public key