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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-29-2020, 12:53 AM
|
#1
|
LQ Newbie
Registered: Jun 2020
Posts: 2
Rep: 
|
problem in understanding gpg
hey all
now there is a project on github that I'm interested in
the project author is including his finger print and the public key in a .asc file
i want to relate things together as I new to the space
how i make use of both, the public key and the finger print, to verify the authenticity of the project
I will be cloning the repository and using the show signature flag of git
please note that i am still new to the space and would like to learn more and understand what i am doing, i am willing to have long detailed answers to dive more in this topic
thank you all in advance
|
|
|
06-29-2020, 12:58 AM
|
#2
|
LQ Addict
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316
|
Digital signature: The author might encrypt documents with the private key. You decrypt them with the public key and can be certain that the document was encrypted by this person. See also https://git-scm.com/book/en/v2/Git-T...ning-Your-Work.
Encrypted email: You can use the public key to encrypt email that you send the author, which s/he is then able to decrypt with the private key.
General encryption: Like email, but for any document.
|
|
|
06-29-2020, 01:02 AM
|
#3
|
LQ Newbie
Registered: Jun 2020
Posts: 2
Original Poster
Rep: 
|
Quote:
Originally Posted by berndbausch
Digital signature: The author might encrypt documents with the private key. You decrypt them with the public key and can be certain that the document was encrypted by this person. See also https://git-scm.com/book/en/v2/Git-T...ning-Your-Work.
Encrypted email: You can use the public key to encrypt email that you send the author, which s/he is then able to decrypt with the private key.
General encryption: Like email, but for any document.
|
thank you for your fast reply
if you don't mind, could you tell me exact steps of what shall i do with the finger print and the .asc file to verify the authenticity of the cloned repository
i want to make use of both, the finger print and the .asc public key file
|
|
|
06-29-2020, 01:52 AM
|
#4
|
LQ Addict
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316
|
Quote:
Originally Posted by the-bitcoiner
thank you for your fast reply
if you don't mind, could you tell me exact steps of what shall i do with the finger print and the .asc file to verify the authenticity of the cloned repository
i want to make use of both, the finger print and the .asc public key file
|
Sorry, I don't know how to check a signed git repo. I hoped this was covered in the reference I provided, or perhaps in Github's documentation?
|
|
|
06-29-2020, 03:14 AM
|
#5
|
LQ Addict
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316
|
Based on this page: https://help.github.com/en/github/au...e-verification, you do nothing with the keys. Github then marks commits as verified, if the signature is correct.
|
|
|
All times are GMT -5. The time now is 04:59 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|