LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-10-2008, 10:54 AM   #1
boby_jassar
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
BOB



My question is it possible in reverse direction



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

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
BOB
file22.txt <============================ file22.txt

Last edited by boby_jassar; 03-10-2008 at 11:01 AM.
 
Old 03-10-2008, 01:08 PM   #2
BrianK
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.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:22 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration