-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 November 17th for David SMITH <dave.sm...@st.com>
Linux do not have a file command, that belogs to the rest of the OS. Linux is only a kernel than is commonly used with the GNU Operating System, but the name for that system is GNU or GNU/Linux. In advance thanks by your understanding. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAksDDTEACgkQZ4DA0TLic4h7rQCePxYym6G2KLhhdiNxCZR3U17S 7YUAnA88xhLNkHO/LsTXLBWsR6Ed9+s2 =Wzjs -----END PGP SIGNATURE----- 2009/11/17 David SMITH <dave.sm...@st.com>: > On Tue, Nov 17, 2009 at 10:52:29AM -0500, Melikamp The Medley wrote: >> Sorry if you get two of these, I screwed up while subscribing >> to the list. >> >> I have a question relating to the symmetric encryption. If I do >> >> gpg -c foo-file >> >> and enter a passphrase, I get an encrypted foo-file.gpg. >> Is there a way to tell that it is an encrypted file just by >> looking at the contents? I mean, is there a reliable way to >> tell that something is _not_ an encrypted file? > > Depends on what you mean by "reliable"... > > I'm sure if you read RFC-4880, you could work out a byte pattern that > would give a very good indication, for most practical purposes. > > However, it would probably be possible for someone to generate a file > artificially in a deliberate attempt to fool the filetype detection > mechanism. So, it's not "reliable" because it can be fooled > intentionally, but for most likely scenarii (i.e. where people aren't > deliberately trying to fool it), it would work. > > If you're running on UNIX (particularly Linux), look at 'man file'. _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users