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
Solved

PGP encryption in UNIX

Posted on 2013-06-25
8
603 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
  • 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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
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 500 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

809 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