LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 05-09-2008, 05:02 AM   #1
ajeetraina
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu,Red Hat, Fedora
Posts: 292

Rep: Reputation: 30
Public and Private Keys???


I need to install GNUPG on Ubuntu Linux.I followed the step but am confused where is the private key while it only shows the public one.
Is Secret key a private key?If so why are they same?

Last edited by ajeetraina; 05-09-2008 at 08:29 AM.
 
Old 05-10-2008, 01:51 PM   #2
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
Have you read the GNUPG Doc

The Public key is used by the client you are communicating with so they can encrypt/decrypt the message.
The Private key is kept secret as only you should have access to this key.
 
Old 05-10-2008, 02:15 PM   #3
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 54
Quote:
Originally Posted by ajeetraina View Post
but am confused where is the private key while it only shows the public one.
What shows only the private key? Did you try:

gpg --list-secret-key keyid

Quote:
Originally Posted by ajeetraina View Post
Is Secret key a private key?If so why are they same?
Yes, they are the same. Why shouldn't they be?

Public key crypto is based on key pairs. You have a secret key which is used for signing and decryption. You keep this key secret, on your computer. The other key in the pair is a public key, used by others for encrypting to you and verifying your signatures. You can mail this key to people, link it from a web page, or put it on public keyservers.

You need to do some research and understand this tool or you will do something bad to yourself

The proper doc links are at http://gnupg.org/documentation/index.en.html

The doc referenced in the post above is not up-to-date. Maximum pubkey sizes in current versions are 4K.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
question about private and public keys mac1234mac Linux - Security 25 04-13-2006 02:04 PM
ssh public/private keys lord_darkhelmet Linux - Newbie 8 10-29-2005 03:14 PM
SSH public / private keys problem guideweb Linux - Software 7 08-27-2005 09:49 PM
Using GPG without public or private keys darin3200 Linux - Security 3 01-10-2005 03:40 AM
Help with SSH and public/private keys stodge Linux - Security 5 05-14-2003 01:22 PM


All times are GMT -5. The time now is 08:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration