?
Solved

PGP encryption in UNIX

Posted on 2013-06-25
8
Medium Priority
?
630 Views
Last Modified: 2013-06-26
Hi All,
 I have to encrypt a file using PGP encryption in unix.I have posted a similiar question some time back and some one replied to use GPG for this.But,I want to know the difference between PGP and GPG.I know that PGP is licensed and GPG is a freeware.

My company is purchasing a license for PGP so I dont think i can use GPG is for this right??and they are trying to install the PGP software  on the unix server.
So,I need some help or documents that can guide me through this.
I just need to encrypt the file using PGP encryption and place it in the directory.

Appreciate your help on this,

Thanks and Regards,
0
Comment
Question by:ra100020
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 23

Expert Comment

by:nemws1
ID: 39276325
They are compatible systems.  You can encrypt or decrypt a PGP file using GPG and vice versa.
0
 
LVL 23

Expert Comment

by:nemws1
ID: 39276328
In fact, my keys were all created using PGP on one system and I converted over to using GPG and didn't have to update any of my files.
0
 

Author Comment

by:ra100020
ID: 39276717
Thanks a lot.Do I have to also install to GPG too on the server??.
When we use ex:   gpg - encrypt -filename,  can unix understand the line without installing gpg software??
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
LVL 23

Expert Comment

by:nemws1
ID: 39276876
Most likely you *will* have to install it on the server if you want to encrypt/decrypt files there.  What OS is your server running?  There are binaries for every major OS so installation should be fairly easy.
0
 

Author Comment

by:ra100020
ID: 39276915
I am using a HP unix server.I just had a doubt of whether to install PGP software or GPG software.My company said they are installing PGP software on the server so i thought commands related to pgp would be used??and i want to know what those are.

But earlier someone said,i can also use gpg commands for pgp encryption.So,to be frank i am kind of confused.


Appreciate your help,
0
 
LVL 23

Expert Comment

by:nemws1
ID: 39276937
Ask your server administrator which one is installed.  You just need *either* one.
0
 

Author Comment

by:ra100020
ID: 39278059
Thank a lot.
Administrator said they have installed PGP so can you let me know what are the commands or procedure to encrypt and decyrpt a file in unix using PGP commands??

Appreciate your help,
0
 
LVL 23

Accepted Solution

by:
nemws1 earned 1500 total points
ID: 39278103
Here's a great guide.  Most of it is very useful:

http://www.cs.wm.edu/pgp.html

You probably won't see to read the section on "Using PGP in exmh", but the rest is good.

Basically...
Encrypt:  pgp -e <filename>
Decrypt: pgp <filename>
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month14 days, 11 hours left to enroll

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question