Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-10-2008, 11:54 AM   #1
LQ Newbie
Registered: Mar 2008
Posts: 4

Rep: Reputation: 0
Public key Imfrastructure

Hello everyone

I am implementing PKI

what I understood in PKI is

Public key encrypts data

file.txt ==Pubkey ====>#$$#$#$#$#$ ===Private key(Alice)==>file.txt ALICE

My question is it possible in reverse direction

file22.txt <===Pubkey ===#$$#$#$#$#$<====Prikey(Alice)==file22.txt ALICE

Can Alice encrypt data with her (private key) and BOB can decrypt it with
Alice Public key

Like in signature

#### <===Pubkey===^&^&%$%$%$<===Prikey=====####<==MD5==file22.txt ALICE
file22.txt <============================ file22.txt

Last edited by boby_jassar; 03-10-2008 at 12:01 PM.
Old 03-10-2008, 02:08 PM   #2
Senior Member
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
The keys just have to match, you can use the same key everywhere. This, of course, isn't incredibly secure, but it will accomplish what you're wanting.

What you're asking for is not the default behavior, so one could say, "No, it doesn't work that way." However, there's nothing stopping you from using the same private key for both alice and bob.


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
public key not installed? Posterboy Fedora 4 07-22-2007 12:13 AM
Revoking GPG key with only passphrase and public key djib Linux - Security 2 03-13-2007 04:20 AM
public key not available? buwaleed Debian 4 01-04-2006 05:52 PM
GPG Data, Secret Key but no Public Key? Aeiri Linux - Software 5 07-20-2004 07:00 PM
RSA public key encryption/private key decription koningshoed Linux - Security 1 08-08-2002 08:25 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:57 PM.

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