Ask HN: Is there a “ground-up” explanation of PGP/GnuPG?
21–30 of 30 posts
Re: Ask HN: Is there a “ground-up” explanation of PGP/GnuPG?
#22Re: Ask HN: Is there a “ground-up” explanation of PGP/GnuPG?
#23If you have some pointers to Git internals explanation, similar to what you're looking for PGP/GnuPG, can you provide them? That would be useful and illustrative :) .
Re: Ask HN: Is there a “ground-up” explanation of PGP/GnuPG?
#24Re: Ask HN: Is there a “ground-up” explanation of PGP/GnuPG?
#25I haven't read it, but "PGP: Source Code and Internals", by PGP's author Philip Zimmerman is worth a try. I've read his other book "Official PGP User's Guide" and learned quite a bit. https://www.amazon.com/PGP-Internals-Philip-R-Zimmermann/dp/...
(prz is very particular about his n's)
Re: Ask HN: Is there a “ground-up” explanation of PGP/GnuPG?
#26If you have some pointers to Git internals explanation, similar to what you're looking for PGP/GnuPG, can you provide them? That would be useful and illustrative :) .
Introduction to Git - talk by Scott Chacon https://www.youtube.com/watch?v=xbLVvrb2-fY
Introduction to Git with Scott Chacon of GitHub https://www.youtube.com/watch?v=ZDR433b0HJY
The latter is newer but a bit longer.
Don't be fooled by the video names, these are introductions to the internals not just the interface.
Re: Ask HN: Is there a “ground-up” explanation of PGP/GnuPG?
#27I'm a very competent git user and don't know how blobs work (nor care). I haven't hit a problem scenario so far in which I had to dissect a blob.
> I feel like the same thing could apply to PGP/GnuPG.
If you don't know crypto, the internals of GNUPG are a bad way to learn it.
I would recommend reading a book, such as Applied Cryptography by Bruce Schneier.
Someone who reads that should be a much better informed, much more sophisticated user of crypto, whether it be an application like GNUPG or a some cryptographic programming library or communication protocol. A developer who reads that book should have the know-how to implement some crypto and spot some crypto-related security flaws.
How GNUPG stores things in various formats is less important than the semantics of those things: like what is a private key, what is a signature and so on. You need to understand what is happening when you, say, verify a signature; just not necessarily at the bit level.
Re: Ask HN: Is there a “ground-up” explanation of PGP/GnuPG?
#28"Public key cryptography - Diffie-Hellman Key Exchange" https://www.youtube.com/watch?v=YEBfamv-_do
"Public Key Cryptography: RSA Encryption Algorithm" https://www.youtube.com/watch?v=wXB-V_Keiu8
Good coverage of the fundamentals before attempting a deeper understanding of PGP specifically.
Re: Ask HN: Is there a “ground-up” explanation of PGP/GnuPG?
#29It depends a lot on from which angle you want to understand it. There's a difference between "understanding the variety of command line options" vs. "understanding the meaning of the raw data structures". I learned quite a bit by looking up things in the RFC: https://tools.ietf.org/html/rfc4880
I'm hoping that by understanding the meaning of the raw data structures, I can ask much more educated questions when I am faced with a new operation I want to perform using GnuPG. The idea is that instead of asking myself "what happens if I set a new, future expiration date on a revoked key?" with no clear answer, I could just think in terms of (e.g., I have no idea how it really works) "since the expiration date is…
Re: Ask HN: Is there a “ground-up” explanation of PGP/GnuPG?
#30I haven't read it, but "PGP: Source Code and Internals", by PGP's author Philip Zimmerman is worth a try. I've read his other book "Official PGP User's Guide" and learned quite a bit. https://www.amazon.com/PGP-Internals-Philip-R-Zimmermann/dp/...
Apparently you didn't learn the correct number of n's in Zimmermann ;) (prz is very particular about his n's)