How to detect PGP encrypted attachments