LinuxQuestions.org
Visit Jeremy's Blog.
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 04-22-2015, 12:37 PM   #1
Brandycoot
LQ Newbie
 
Registered: Apr 2015
Posts: 3

Rep: Reputation: Disabled
Angry GPG: How does a gpg2Masterkey(THE Private key) store all the info of its PubSub Keys?


For one user I generated a gpg2 key-pair. I exported these to ascii-armour text files as master.asc and pub.asc. Then took only the pub.asc onto the keyring of a second user on the same partition. I "signed" a simple text file (say trial.txt) with the master key and also transferred it to the home directory of the second user. The pub key on the second user's keyring could verify the signature on the signed text file (trial.txt.gpg) but could not decrypt it. Also, a file encrypted by the second user with the pubkey could be decrypted by the masterkey. Each key therefore has, embedded in its structure, information about child/parent keys. Can anyone thrown light on the actual method of incorporation of this mutual recognition in the key structures? Note:The same kind of recognition happens with sub-keys derived from the Master-key. Can't find any literature which details. Help pl.
 
Old 04-23-2015, 05:05 AM   #2
RMLinux
Member
 
Registered: Jul 2006
Posts: 260

Rep: Reputation: 37
https://help.ubuntu.com/community/GnuPrivacyGuardHowto
 
1 members found this post helpful.
Old 04-30-2015, 10:41 AM   #3
Brandycoot
LQ Newbie
 
Registered: Apr 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Got a detailed reply from Dennis Kaarsemaker about how to use gpg, which I think should be recommended reading for all gpg users. However my question is related to the format of :
a) the secret master-key
b) the public (encryption) key
c) the signing_only sub-key

Each key of such a set seems to know its family members and hence this must be buried in the formats. Meanwhile I will try to locate and download the algorithms and the C++ code that generates these in gpg, for study. Be grateful if some one knows already and can post, the details of how the formats are built.
regards to all
 
Old 05-16-2015, 11:02 AM   #4
Brandycoot
LQ Newbie
 
Registered: Apr 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Am closing this thread though not solved. Will study and post solution if I find it. Regards every one.
 
  


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
[SOLVED] How can I decrypt GPG file that encrypted with my lost private key ? mesuutt Linux - General 4 12-17-2011 12:07 PM
importing private gpg key into ubuntu... mia_tech Linux - Newbie 6 05-03-2008 04:07 AM
where are GPG private keys stored? dasy2k1 Linux - Security 2 04-23-2008 08:26 PM
Using GPG without public or private keys darin3200 Linux - Security 3 01-10-2005 04:40 AM
if they got my gpg private key...... qwijibow Linux - Security 1 10-21-2003 01:22 AM


All times are GMT -5. The time now is 06:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration