Solved

PGP encryption in UNIX

Posted on 2013-06-25
8
599 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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sparc Solaris hangs without crash dump & no events from messages 3 80
Where to get php 5.6 for AIX 7.1? 5 99
Write an app 10 70
awk sed variable in file 3 36
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.:

775 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