Share The Seeds

General and Off Topic => General Discussion => Topic started by: Radium on June 15, 2016, 04:14:42 PM

Title: PGP/GPG ENCRYPTION TUTORIAL: how to talk "truly private" over internet
Post by: Radium on June 15, 2016, 04:14:42 PM
Dedicated to BubbleCat,
who introduced me to this awesome life-saving trick.

============
INTRO

PGP (https://en.wikipedia.org/wiki/Pretty_Good_Privacy) = Pretty Good Privacy
GPG (https://en.wikipedia.org/wiki/GNU_Privacy_Guard) = GNU Privacy Guard

For the layman, both terms mean the same thing, and is usually called PGP/GPG.

It was invented by the two good German fellas called Phil Zimmermann & Werner Kock.
We all owe them really deep if you ask me.

Their invention guarantees everybody's true & real (not fake & perceived) liberty, privacy, and safety.

It is open-source  (https://en.wikipedia.org/wiki/Opensource)(assurance of existence of no back-doors (https://en.wikipedia.org/wiki/Backdoor_%28computing%29)) and free.
Allowing us to send/receive encrypted messages/files over internet,
While being sure that only the intended person can decrypt it, and the Man-in-the-middle (https://en.wikipedia.org/wiki/Man-in-the-middle_attack) only gets a bunch of garbage random scrambled text.

==============================================
DIFFERENCE WITH OTHER CRYPTOGRAPHY METHODS

When you send files/texts encryption using "password-based" methods to a friend, you must give them the password too, and if you tell them the password via email/phone/SMS/etc, the purpose of encryption is lost, since the Man-in-the-middle will hear the password too, and will be able to decrypt the file/text.
The only safe way to tell the password to your friend is to go to your friend's place physically and tell it to them face-to-face quietly in his/her ear.

PGP/GPG solves this problem by replacing the password with 2 keys.
Every person owns 2 keys:
==============================================
THE PROCEDURE

Steps in order:
Optional step:Very simple, amiright?

==============================================
SOFTWARES USING PGP/GPG

It is originally a shell/command-line program, which might appear "too hard and complicated" for the average layman.
Do not worry, there are lots of graphical clients (programs), open-source and free, which implement PGP/GPG.

One of the awesome of graphical clients is called "Portable PGP (http://ppgp.sourceforge.net/)"

It is written in Java, and thus runs on almost all platforms.
But you need to install Java Runtime Environment for it to work.
==============================================

That's all folks!

This thread should be stickied if you ask me.
The more people learning how to use PGP/GPG, the better.

Post any questions you have,
I will gladly answer.
Title: Re: PGP/GPG ENCRYPTION TUTORIAL: how to talk "truly private" over internet
Post by: danzick on June 15, 2016, 04:40:23 PM
Thanks Radium.  Nice tutorial.   :)
Title: Re: PGP/GPG ENCRYPTION TUTORIAL: how to talk "truly private" over internet
Post by: Radium on June 15, 2016, 04:53:43 PM
Thanks Radium.  Nice tutorial.   :)
Welcome!

Feel free to share it on other forums and everyone you love.

The Man-in-the-middle HATES this tutorial.
Title: Re: PGP/GPG ENCRYPTION TUTORIAL: how to talk "truly private" over internet
Post by: misplant on June 15, 2016, 06:54:01 PM
Quote
Moreover, data extracted from our own database confirms that Java is the second biggest security vulnerability that requires constant patching, after Adobe’s Flash plugin.

In 2015 alone, we’ve already deployed 105925 patches for Java Runtime Environment for our clients.

https://heimdalsecurity.com/blog/java-biggest-security-hole-your-computer/

the problem with PGP is generally speaking a person has absolutely no way of knowing how secure or insecure the person you are exchanging encrypted messaging with really is.  They just as easily could be kissing cousins with the man in the middle, lol.

Offhand I'd think there'd be a lot more attention paid to an IP / MAC address that was sending/receiving encrypted messages vs the billions of ones that were not.


Title: Re: PGP/GPG ENCRYPTION TUTORIAL: how to talk "truly private" over internet
Post by: Radium on June 15, 2016, 07:02:03 PM
Quote
Moreover, data extracted from our own database confirms that Java is the second biggest security vulnerability that requires constant patching, after Adobe’s Flash plugin.

In 2015 alone, we’ve already deployed 105925 patches for Java Runtime Environment for our clients.

https://heimdalsecurity.com/blog/java-biggest-security-hole-your-computer/ (https://heimdalsecurity.com/blog/java-biggest-security-hole-your-computer/)

the problem with PGP is generally speaking a person has absolutely no way of knowing how secure or insecure the person you are exchanging encrypted messaging with really is.  They just as easily could be kissing cousins with the man in the middle, lol.

Offhand I'd think there'd be a lot more attention paid to an IP / MAC address that was sending/receiving encrypted messages vs the billions of ones that were not.

Title: Re: PGP/GPG ENCRYPTION TUTORIAL: how to talk "truly private" over internet
Post by: BubbleCat on November 03, 2016, 12:33:03 AM
Nicely done !

Youre a bit wrong on one thing tho:
Assymetric encryptions do have two enemies:
A potent and capable operational quantum computer...
aaaand... THE MAN IN THE MIDDLE, given that he is there from the beginning on producing a key exchange with both parties. Highly unlikely but theoretically possible. Well, the quantum computer isn't exactly to be feared either as of now.

One thing is sure: PGP gives you security NOW but many people forget: DONT discuss anything, using PGP or not, that you dont want to be discovered in say 20 years as one thing is certain: They may not be able to read your messages NOW but they can save encrypted messages and decipher them as soon as the computing power needet is available. So dont discuss your most recent murders as in most jurisdictions they can always get you for that. Speeding is fine tho.
Title: Re: PGP/GPG ENCRYPTION TUTORIAL: how to talk "truly private" over internet
Post by: Mangrove on November 03, 2016, 10:42:23 AM
Well done !

You're a bit wrong on one thing tho:
Asymmetric encryptions do have two enemies:
A potent and capable operational quantum computer...
aaaand... THE MAN IN THE MIDDLE, given that he is there from the beginning on producing a key exchange with both parties. Highly unlikely but theoretically possible. Well, the quantum computer isn't exactly to be feared either as of now.

One thing is sure: PGP gives you security NOW but many people forget: DON'T discuss anything, using PGP or not, that you don't want to be discovered in say 20 years as one thing is certain: They may not be able to read your messages NOW but they can save encrypted messages and decipher them as soon as the computing power needed is available. So don't discuss your most recent murders as in most jurisdictions they can always get you for that. Speeding is fine tho.

I couldn't help but post these masturpieces in response to this post:
FFS LISTEN TO THESE (http://www.youtube.com/watch?v=ZX114wb1AjE)

http://www.youtube.com/watch?v=NCfVFxRsKQc

http://www.youtube.com/watch?v=8i6WPGlvPZc

http://www.youtube.com/watch?v=LldtyaqMI5w

http://www.youtube.com/watch?v=H6E7Zl8MUrY
Title: Re: PGP/GPG ENCRYPTION TUTORIAL: how to talk "truly private" over internet
Post by: BubbleCat on November 03, 2016, 11:38:59 AM
http://www.youtube.com/watch?v=so8NQficzZg