The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Security
Google UNIX.COM


Security Anything involving computer security goes here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
File size after pgp encryption tekster757 UNIX for Dummies Questions & Answers 1 04-11-2008 09:20 AM
SCO OpenServer 5 and File Encryption coreysan UNIX for Advanced & Expert Users 1 05-31-2007 05:14 PM
File password protection/encryption rdudejr AIX 2 07-09-2006 03:43 PM
File encryption/Key encryption ???? hugow UNIX for Dummies Questions & Answers 1 03-18-2006 12:29 PM
encryption of text file for ftp dchalavadi UNIX for Advanced & Expert Users 3 05-16-2002 08:09 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-01-2007
Registered User
 

Join Date: Sep 2007
Posts: 11
How to use PGP File Encryption

Hi All,

I am new to the concept of encryption and shell and i have been assigned to do pgp encryption of a file before ftping it.

I am developing the script using MKS Toolkit on Windows XP and the script will run later on actual unix box.

I am going through documents provided by pgp website.

Any help in this regard will step me up in developing the program, also an example will help a lot.

Thanks in advance
Sandeep
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 10-02-2007
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,128
Here is a session for encrypting a file :
Quote:
[root@host ~]# gpg -c scsrun.log
Enter passphrase :
Repeat Passphrase :

[root@host ~]# ls -l scsrun.log*
-rw-r--r-- 1 root root 195 Oct 2 15:32 scsrun.log
-rw-r--r-- 1 root root 204 Oct 2 15:32 scsrun.log.gpg
If you want to decrypt it : "gpg scsrun.log.gpg" -it will ask for the passphrase.
Reply With Quote
  #3 (permalink)  
Old 10-04-2007
Registered User
 

Join Date: Sep 2007
Posts: 11
How to use PGP File Encryption

Thanks for reply

I will update once i will through with your solution.

Thanks again
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:48 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0