Subject: Identifying a PGP file · Posted: 2007-07-11, 02:01am
Rank: ? (1)
Member #: 29642
Is there a way to identify a PGP encrypted file based on the file content programatically (like the way a ZIP file can be identified by looking for letters "PK" at the beginning of the file)? We receive multiple files from a client and don't have an idea which ones are PGP encrypted. I need to write code to identify the PGP files and decrypt them automatically. Thanks!!