[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnupg-users
Subject:    re: Identify GPG file
From:       <vedaal () hush ! com>
Date:       2007-11-15 18:56:15
Message-ID: 20071115185615.D5495DA829 () mailserver7 ! hushmail ! com
[Download RAW message or body]

avi israel isr_avi at netvision.net.il
wrote on Thu Nov 15 11:27:24 CET 2007 :


" ... how can I identify GPG files not by their name (e.g. 
extension) but by their first bytes or file header.
For example – zip file starts with 'PK' (ASCII). ..."


as a general rule, comparing pgp and gnupg encrypted files in ascii 
armor,

the gnupg encrypted message will begin with an 'h' 
and
the pgp one will begin with a 'q'

for both v4 rsa and dh keys


for v3 keys,
pgp will also begin with an 'h'

(but *most* of us, with some notable exceptions ;-)
don't use v3 keys anymore except when using pgp 2.x )


vedaal

--
Click here to double your salary by becoming a medical transcriber.
http://tagline.hushmail.com/fc/Ioyw6h4eKoYeGjyfZHRaPkuJICqE1YHfOmDbwoeGdPVtrQwBuW8fYj/


_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic