Slashdot Mirror


An Introduction to GNU Privacy Guard

An anonymous reader writes "This is a great article about GnuP . . . "In the first half of this article David Scribner discussed the various uses that GNU Privacy Guard could bring to your business or personal life in enhancing security of your digital documents and files, as well as the basics in getting started with GnuPG. As there is so much more to public-key security than command-line operations, in this second half I will continue with importing and exporting keys, building (and keeping) your 'web of trust' sound, and a few of the more popular GUI front ends available for GnuPG . . ."

18 of 121 comments (clear)

  1. The Anonymous Reader by Amazing+Quantum+Man · · Score: 3, Interesting

    "the first half of this article David Scribner discussed ..., in this second half I will..." (emphasis mine).

    Gee, could the "anonymous reader" be David Scribner giving himself a shameless plug? See the above quote.

    --
    Fascism starts when the efficiency of the government becomes more important than the rights of the people.
  2. Really that useful yet? by wackybrit · · Score: 5, Informative

    I know new systems and apps create a bit of a chicken-and-egg situation.. but what about this:

    Today, I use GnuPG for a variety of tasks. Whether it's to sign and encrypt documents and contracts submitted to businesses, encrypt local files, or merely sign email and files to ensure others that no modifications have occurred to its content, I have found GnuPG to be a 'must have' utility kept close at hand when using my PCs.

    Documents submitted to businesses? Signing e-mail and files?

    Signing these sorts of things is a good idea, but just how many businesses are going to have GnuPG at this time. And, since you can get the files out of the e-mail without HAVING to use GnuPG (GnuPG just checks the authenticity), it doesn't really encourage people to go get it either.

    Considering most people are Joe Schmoes using Windows, I can't see how using GnuPG (or even PGP, for that matter) to sign things is going to help anyone at this stage.

    Outlook Express is the most common e-mail client out there today and from all the e-mail I get.. I'd say that far less than 1% of its users actually use the signing and encryption features that are BUILT IN! GnuPG is an add-on, at best.. so can we really see millions of people using this?

    Until the public learn more about security, how it works, and why it should be used, I think not.

    1. Re:Really that useful yet? by mcelrath · · Score: 5, Insightful
      I know new systems and apps create a bit of a chicken-and-egg situation.. but what about this:

      ...

      Until the public learn more about security, how it works, and why it should be used, I think not.

      So you state it's a chicken-and-egg problem and then go on to demonstrate it's a chicken-and-egg problem, adding nothing to the discussion. Then you say we all shouldn't use it, because it's a chicken-and-egg problem. Give me a break! Here are a few ways to crawl out of the chicken-and-egg situation:

      Signing your e-mail makes GPG visible to those that don't know yet. Every once in a while someone will actually look at that attachment, follow the little link, and maybe learn something. For technically saavy users, this is simply tech evangelism. Someday we will all learn in high school how to manage our private keys, instead of teaching us how to fill in the blanks on a check. I have personally converted 4 or 5 friends (and my dad!) to using it.

      I use GPG to store sensitive information. I keep a GPG-encrypted file with passwords (mostly for websites) in it. That way for each %@#(&@$ vendor that insists on storing my credit card info, I can generate a 20-character random password, put it in this file and forget about it.

      As a system administrator, I have had many occasions where people want an account but I'm not physically nearby for them to type in a password. I usually point out GPG saying that if they used it, I could send them a password. Since they don't, they'll have to wait a few days until we can be in the same room. Again, it's evangelism.

      I pointed out gpg to my bank for account-related communications (but they don't seem to get it yet...they're a bank). Everybody else ask your bank about it too. It's evangelism. The squeaky wheel gets the grease.

      And most importantly, I encrypt love letters to my girlfriend. Don't want anyone reading that stuff. ;)

      Making the public aware that this kind of technology exists is, in my mind, the single most important revolution happening today. It is the key to take back freedom from our oppressive government (and the even more oppressive governments out there). It is the key to the electronic money of the future. It is the key to the electronic contract of the future (this click-to-accept shit has got to go). I definitely don't want to "click" to buy a house. As long as we keep them ignorant and don't evangelize, we can guarantee we will never see the electronic future we read about in books.

      -- Bob

      --
      1^2=1; (-1)^2=1; 1^2=(-1)^2; 1=-1; 1=0.
  3. The weakest link by FreshMeat-BWG · · Score: 4, Insightful
    Ok, so I have n-bit keys protecting my super secret confidential data that is going to take x-million computers y-thousand years to crack and I feel pretty good knowing the CIA won't spend $z trillion dollars finding out my grandma's secret cookie recipe.

    Now, how do I keep my passphrase a secret while the CIA is bashing my toes with a hammer?

    I guess my point is that public/private key encryption is only as good as the passphrase which is often not good enough, and that the ecryption is way stronger than your personal torture threshold anyway.

    1. Re:The weakest link by tbmaddux · · Score: 5, Insightful
      I guess my point is that public/private key encryption is only as good as the passphrase which is often not good enough, and that the ecryption is way stronger than your personal torture threshold anyway.
      That's true, which is why it was originally well-named as "Pretty Good Privacy." It solves the lowest-order problem, that your email is transmitted as plaintext across the Internet for anyone to read.

      And of course, the CIA doesn't really need to bash your toes; they can just put a keyboard sniffer on your machine, or put a spy camera to capture your keystrokes while you type your password, or lots of other interesting things that only require a warrant and don't require torture.

      GPG was easy to setup (on our Macs, even!) and now I don't have to worry about whether or not the script kiddie down the road can sniff the private messages I send to my wife. That's Pretty damn Good Privacy.

      --
      Can't you see that everyone is buying station wagons?
  4. False sense of security? by Meat+Blaster · · Score: 4, Informative

    There are a number of applications GPG is good for besides cryptography -- I use it to verify Linux kernels from kernel.org, for example -- but I know several people that think that once you figure out how to encrypt mail you're secure. It's probably good to keep in mind that there are a number of other points at which an attacker can read the mail (swapfile, keyboard logger, trojan, net sniffer, tempest, emp, and buffer overflows) even if the application itself is bugfree and Open Source, so remember that this is just supposed to be a component in a system of security.

  5. GnuPGExch by Rupert · · Score: 5, Informative

    If your family and friends insist on using Outlook or Outlook Express, try pointing them at G-Data's, GnuPG Pluginfor those MUAs. One downloadable Win32 .exe and a simple installation puts buttons to sign/verify and encrypt/decrypt on the toolbar.

    Because let's face it, /we/ all know how to encrypt our email. But until "Your Mom" (TM) can do it, it's not useful.

    --

    --
    E_NOSIG
  6. Re:What are you hiding? by RatBastard · · Score: 3, Insightful

    Well, there's your collection of bestiality porn.

    Why is it that people assume that anyone who wants to communicate in private has something to hide?

    --
    Boobies never hurt anyone. - Sherry Glaser.
  7. Great, but by jukal · · Score: 3, Insightful

    the "original" handbook does the job much better.

  8. Re:GPG 1.2 available by kingkade · · Score: 3, Informative

    It's at gnupg.org, BTW ;-)

  9. Too much effort by mikeboone · · Score: 3, Insightful

    I've been interested in GPG and encryption for a couple of years, but I can't convince any of my friends to be interested. So all my communications with them must be unencrypted.

    I know you can get it as easy as typing in a password when an email gets sent, but that's too much effort for my parents and most of my friends. :(

  10. GnuPG is the way to go. by wackybrit · · Score: 3, Interesting

    GnuPG is definitely, certainly, and really the way to go with secure encryption and security systems, here's why..

    The simple and undisputed -- and often argued -- fact is that we've come a long way, and the majority of large businesses are now using Linux as both a desktop and server OS which means these things are efficient to do.

    GnuPG's (shouldn't that be GNUPG since GNU is an acronym?) ease of use and its (almost) seamless connectivity with most Linux communications applications allows the average workplace user to encrypt documents and files, preventing PR-disasteresque leaks -- such as the recent leak of the salary details of Lycos' staff to InternalMemos.com..

    The seamless and very good encryption and decryption system allows staff of lots of big and small companies to simultaneously access and also work on their valuable and secure data as usual, but means that even if sites like F**kedCompany get hold of it, it's no use to them. Copying and pasting will just result in goobledygook being produced.

    GnuPG's automated hyperencryption routines also mean that it could have some extremely useful and oblique military functionality, allowing our brave patriots to fight terrorism around the world.

    One such example is in the encryption of numeric data such as numbers like digits between 0 and digits under 9. These encyrption routines can improve the efficiency of this by 24%.

  11. Excellent by z-man · · Score: 3, Insightful

    I use gpg all the time, and I know a lot of other people that use it, it is a great program.

    However, a problem is that people just aren't good enough at getting their public-keys out. I hope this article enlightens them on the lovely export option. Which I believe to be one of the most important parts. I receive email from a lot of lists everyday, LUGS, development lists and so on. A lot of this email is signed, but a lot of these people obviously don't get the points of signing completely since they haven't got their public key available in anyway (of course some may not believe in the keyservers and so on, and want to be contacted in other ways for key-exchange, but not all are that pre-cautious, some just don't understand), and thus I cannot verify their signature.

  12. Re:Book on Encryption - Methods of Attack by SirSlud · · Score: 4, Funny

    > and last time I checked my cat wasn't talking.

    The CIA has a way around this. They drop 2 tabs of acid, each, wait a while, and then furiously start writing down anything your cat says.

    They're way ahead of you.

    --
    "Old man yells at systemd"
  13. Advocating privacy by tve · · Score: 3, Insightful

    I don't believe most people with 'nothing to hide' will be convinced by this argument for privacy. So, can anyone come up with a concise line of reasoning that will work?

    --

    If there is hope, it lies in the trolls.
  14. Re:Book on Encryption - Methods of Attack by unicron · · Score: 3, Funny

    :"Gentlemen, let me begin by saying that the litter box you have provided me is completely inadequite. While I know I am a creature prone to walking in it's own shit while I shit some more, I must insist you clean it out post-haste.

    : From this point on I will always be fucked in the head.

    : Ditto.

    --
    Finally, math books without any of that base 6 crap in them.
  15. Integrating GPG with mail - mozilla+enigmail by bourne · · Score: 4, Informative

    One of the problems I always had using pgp/gpg was client support. Getting it to work with outlook/outlook express, then finding something under Linux that would support it, having to scrap together a bunch of tools, all of which were half-written...

    I've found a solution. Mozilla and Enigmail. Yes, Mozilla/Netscape mail used to be putrid. It's better with Mozilla 1.0+, honestly. It has progressed to a competitive state, and I switched over totally about a month ago.

    Enigmail is a plugin for Mozilla that handles signing, encrypting, decrypting and verifying mail for you.

    GnuPG, Mozilla and Enigmail all work on Windows as well as Linux, so I have the same tools no matter what I'm running.

    You still need a key manager, but getting what mozilla+enigmail provides is a great step forward.

  16. Needs a LGPL lib by DrXym · · Score: 4, Interesting

    GPG only runs from the command line meaning apps that wish to call it have to construct a command-line, invoke gpg and parse the results in a pipe. It desperately needs a LGPL lib to relieve this burden. The only lib so far is gpgme which is GPL making it pretty useless for this task.