Re: Any isencrypted function available?



On Sat, Jun 14, 2008 at 09:12:33AM +0900, buyoppy wrote:

Is there any 'isencrypted 'function available on Debian which judges
whether some data is encrypted or not?

Unless the ciphertext contains some sort of standard header (e.g. *.gpg
files), then no. The file utility will report file types for anything it
knows about, such as pgp/gpg messages, but will report unmarked
ciphertext as "data" or "text" in most cases.

--
"Oh, look: rocks!"
-- Doctor Who, "Destiny of the Daleks"


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx