Code Monkey home page Code Monkey logo

Comments (11)

isislovecruft avatar isislovecruft commented on September 13, 2024 2

Just in case, if anyone had any doubt in their minds about my appreciation for GnuPG, or maybe thought I was sometimes being a little bit negative or bitchy, wondering if statements I make should be interpreted as complaints of incompetence about GnuPG's development team:

Let me make this entirely clear.

I FUCKING HATE GNUPG.

from python-gnupg.

isislovecruft avatar isislovecruft commented on September 13, 2024

I have the same, on a very weird Linux machine running a very weird gnupg binary… so I don't think this issue is only effecting you, @ianchesal. :)

Let me see what I can do to fix this.

from python-gnupg.

isislovecruft avatar isislovecruft commented on September 13, 2024

I can reproduce this using any of the following valid arguments to the verbose parameter: True, any int ≥ 1, and any of the named GnuPG logging levels, e.g. 'guru', 'basic', 'advanced', etc.

Using any of the following arguments, the bug is not triggered: 'none', None, 0, False

from python-gnupg.

isislovecruft avatar isislovecruft commented on September 13, 2024

Aha! Found it. The bug is that GnuPG needs to be passed the argument --debug-level=basic, not --debug-level basic. Which is also a bug in GnuPG's documentation, as the GnuPG manual states:

       --debug-level level
              Select  the debug level for investigating problems. level may be a numeric value or by a
              keyword:

Thanks for helping me find this, @ianchesal.

from python-gnupg.

isislovecruft avatar isislovecruft commented on September 13, 2024

Okay, this is merged into develop for 1.3.2, please let me know if this issue comes up again for you, @ianchesal, and thanks for all your help!

from python-gnupg.

isislovecruft avatar isislovecruft commented on September 13, 2024

There is still a problem.

I was under the impression that this issue affected all upstream branches of GnuPG (branches 1.4.x, 2.0.x, and 2.1.x) and I supplied a documentation patch, leaving the parsing behaviours intact. However, Werner Koch responded, noting that the undocumented requirement for '=' is only in GnuPG<=1.4.18, and instead patched GnuPG>=1.4.19

Meaning that now python-gnupg needs to only add the equal sign if the GnuPG binary version is <=1.4.18.

le sigh

from python-gnupg.

isislovecruft avatar isislovecruft commented on September 13, 2024

Also, this is fixed again in commit b51b0eb.

from python-gnupg.

petertodd avatar petertodd commented on September 13, 2024

I'm going to call you up later tonight and whisper gently into your ear "You know you want to rewrite GnuPG, you know you do."

Incidentally, I only have your number because the shit PGP user experience failed you and you accidentally sent an email unencrypted.

(just kidding!)

from python-gnupg.

ianchesal avatar ianchesal commented on September 13, 2024

@isislovecruft thanks for the fix. Can't say I didn't enjoy watching you resolve this. 👍

from python-gnupg.

isislovecruft avatar isislovecruft commented on September 13, 2024

@petertodd I have a phone number?! That's a bug… :)

from python-gnupg.

petertodd avatar petertodd commented on September 13, 2024

@isis Wait, lemme guess, your not a male living in Syria are you? Because I already had to tell my other agent you're certainly not a four thousand year old religious concept.

Damn you zooko...

from python-gnupg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.