Fix compilation issues
PGP: extract public key data