How to detect a GunPG file.

Adam Milazzo adam at adammil.net
Sun Sep 21 11:54:53 CEST 2008


GnuPG files are simply OpenPGP files and conform to RFC-4880:
http://tools.ietf.org/html/rfc4880

Yunfeng wrote:
> Hi all
> 
>  
> 
> I’m working on a project that need to distinguish GunPG files among a
> lot of files without extension name.
> 
>  
> 
> I read the following post(
> 
> http://lists.gnupg.org/pipermail/gnupg-devel/2004-October/021427.html)
> 
>  
> 
> but I’m still confused about how to detect the GunPG file.
> 
>  
> 
> Is there any string in the GunPG’ header can tell me it is a GunPG
> file!? If yes, which bits?!
> 
>  
> 
>  
> 
> Kk11
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Gnupg-devel mailing list
> Gnupg-devel at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-devel

-- 
Encrypt your email! Use GnuPG (http://www.gnupg.org) along with:
* Enigmail (http://enigmail.mozdev.org) for Thunderbird
* FireGPG (http://getfiregpg.org) for GMail, Hotmail, etc.
* GPGOE (http://gpgoe.wald.intevation.org) for Outlook Express
* GpgOL (http://www.g10code.com/p-gpgol.html) for Outlook
My public key is available at http://www.adammil.net/files/publickey.txt



More information about the Gnupg-devel mailing list