Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

PGP encryption in UNIX

Posted on 2013-06-25
8
Medium Priority
?
640 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

604 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