Added preliminary PGP support