Computing.Net > Forums > Unix > Help with finding encrypted files

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Help with finding encrypted files

Reply to Message Icon

Name: sting013
Date: August 27, 2004 at 07:42:47 Pacific
OS: Sun 5.9
CPU/Ram: ?
Comment:

Hello all.
I have a little problem. We have a server that we call dropbox were we drop or pick up customer files. We have a policy that all files have to be encrypted, but we have found that some customers are not do that. Is there some command that can check to see if a file is encrypted. I have been searching and could not find anything. Any help would be great.
Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: Wolfbone
Date: August 27, 2004 at 09:44:42 Pacific
Reply:

If the files are ASCII armored, 'file' should recognize them and attempted decryption of an unencrypted file should result in an informative error message.


0

Response Number 2
Name: sting013
Date: August 27, 2004 at 11:53:28 Pacific
Reply:

Most of the files are encrypted with PGP, I'm still reading and searching for some way just to check if they are encrypted with no luck. :-(


0

Response Number 3
Name: Wolfbone
Date: August 27, 2004 at 16:42:19 Pacific
Reply:

I don't use PGP myself but if I try to decrypt an unencrypted file with gpg it says:

gpg: no valid OpenPGP data found.
gpg: decrypt_message failed: eof

If you can get your users to make sure their files are ASCII armored when they do remember to encrypt them, 'file xxx' says:

xxx: PGP armored data message

for raw encrypted data it just says:

xxx: data

and if you know the filetype it would be if it was unencrypted, you can easily distinguish which are which.

If it is the case that your users are sending you random binary files unrecognizable to 'file' then I would've thought PGP could tell when it's not looking at an encrypted file - like gpg can - and if not then you can use gpg.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Help with finding encrypted files

help with analog.cfg file on virtual ser www.computing.net/answers/unix/help-with-analogcfg-file-on-virtual-ser/3152.html

Write a Script to help with finding www.computing.net/answers/unix/write-a-script-to-help-with-finding/8097.html

Clean up the / fs with find command www.computing.net/answers/unix/clean-up-the-fs-with-find-command/1417.html