rayskelton
asked on
Encrypt a file in Unix shell, email through mailx, and detatched from Outlook with key.
I have a script that emails a file through a Unix Kornshell script. This file needs to be encrypted where the user needs a password to read, after detatching through Outlook. I currently use uuencode but all users can still read the file. How do I encrypt through ksh and then give this code to a user? This must be automated with no user intervention for the encryption.
gzip the file as the first step, specifying a password
ASKER
I am unaware of being able to encrypt a file with gzip.
ASKER
I was looking at pgp, although is not installed on our machines and will need to go through much red tape to install.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for all
I don't know how the 'crypt' command can be any help as Outlook or Windows certainly won't recognise it. ZIP with a password would be the easiest and most reliable method.
ASKER
Your correct, my task is to encrypt on Unix and read through Outlook. I passed this issue to our corporate security deptartment and am letting them come up with a viable solution. Thanks for your response.
Can you please explain why you think the ZIP solution is not appropriate? It will do everything that you've described.