News for hackers. Stuff that matters.
Re:Decades-old GnuPG bug allowed hackers to spoof just about... by exabrial on Friday June 15, 2018 @01:01PM (#17321394)
Sorry to be pedantic, but it appears to be a bug in GPG, not the PGP spec.
Re:Decades-old GnuPG bug allowed hackers to spoof just about... by Zamicol on Friday June 15, 2018 @01:15PM (#17321511)
That's not pedantic, that's pointing out a terrible headline.
Re:Decades-old GnuPG bug allowed hackers to spoof just about... by Boulth on Friday June 15, 2018 @02:36PM (#17322305)
PGP is a trademark currently held by Symantec: https://www.symantec.com/about/legal/trademark-policies

The spec is OpenPGP and both PGP and GPG implement it: https://tools.ietf.org/html/rfc4880

Re:Decades-old GnuPG bug allowed hackers to spoof just about... by exabrial on Friday June 15, 2018 @04:01PM (#17323055)
That is even more delightfully pedantic (and I learned something)
Re:Decades-old GnuPG bug allowed hackers to spoof just about... by Rjevski on Friday June 15, 2018 @01:19PM (#17321549)
Seems like it's even a bug in how GPG is used (verbose mode, etc) instead of GPG itself.

I'm surprised those software actually use GPG by parsing its output instead of as a library.

Re:Decades-old GnuPG bug allowed hackers to spoof just about... by vertex-four on Friday June 15, 2018 @01:20PM (#17321561)
It's not possible to use GPG as a library - the libraries that exist just shell out to the command and parse its output.
Re:Decades-old GnuPG bug allowed hackers to spoof just about... by JasonFruit on Friday June 15, 2018 @01:51PM (#17321908)
I'm not certain, but doesn't GPGME do something a bit more sophisticated than that?
Re:Decades-old GnuPG bug allowed hackers to spoof just about... by jwilk on Friday June 15, 2018 @02:13PM (#17322098)
Nope, GPGME spawns the gpg binary too.

The major advantage of GPGME is that it's written by the same folks as GnuPG itself, and hopefully they know how to use the binary correctly.

Re:Decades-old GnuPG bug allowed hackers to spoof just about... by vertex-four on Friday June 15, 2018 @02:06PM (#17322046)
Unfortunately not, as far as a quick read of engine-gpg.c seems to suggest.
Re:Decades-old GnuPG bug allowed hackers to spoof just about... by xnyanta on Friday June 15, 2018 @01:38PM (#17321753)
I'm shocked to hear that. What exactly is preventing it from be used as a real library?
Re:Decades-old GnuPG bug allowed hackers to spoof just about... by newnewpdro on Friday June 15, 2018 @03:14PM (#17322664)
IIRC it's deliberately done this way for a number of information security reasons. If you look through the gnupg manual, there are references to things like "on old systems, this program must be setuid root so it may lock memory pages". Presumably it's desirable to require such a thing in an isolated process rather than the entire application utilizing gpg.

Since quality CLI implementations must be provided and exist anyways, why not provide the programmatic interface (libgpgme) as a thin veneer over it, as if the commands are being run from the shell?

Re:Decades-old GnuPG bug allowed hackers to spoof just about... by vertex-four on Friday June 15, 2018 @02:07PM (#17322057)
I believe that it's primarily that GPG has been implemented in such a way that console concerns invade most of the program, but I've never actually looked to verify.
Re:Decades-old GnuPG bug allowed hackers to spoof just about... by binarycrusader on Friday June 15, 2018 @01:57PM (#17321964)
Probably the license and/or lack of an appropriate licensing exception.
Re:Decades-old GnuPG bug allowed hackers to spoof just about... by DSMan195276 on Friday June 15, 2018 @02:29PM (#17322254)
Another posted indicate code issues, but I think you're right this is at least a big reason. GPG is GPL licensed, but GPGME is LGPL licensed. A library version of GPG would have to be GPL licensed as well, which would require any programs linking to it to also be GPL.

With that, for GPGME to be LPGL there can't be an actual coupling of code between the two or else GPGME would have to be GPL licensed itself. (Though you could argue the distinction here a bit murky)

Re:Decades-old GnuPG bug allowed hackers to spoof just about... by aviau on Friday June 15, 2018 @02:26PM (#17322219)
You mean a bug in the software that parse GPG output, right?

If we are being pedantic, that detail is important.

Re:Decades-old GnuPG bug allowed hackers to spoof just about... by sctb on Friday June 15, 2018 @02:38PM (#17322320)
Thank you, we've updated the headline here.