Skip to content

Exception when using with gnupg-2.0.28 #9

@jurov

Description

@jurov
gpg --status-fd 2 --no-tty --verify
[GNUPG:] NEWSIG
Exception in thread Thread-15:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "...python2.7/site-packages/gnupg.py", line 648, in _read_response
    result.handle_status(keyword, value)
  File "...python2.7/site-packages/gnupg.py", line 234, in handle_status
    raise ValueError("Unknown status message: %r" % key)
ValueError: Unknown status message: u'NEWSIG'
!!!WARNING!!!
Invalid Signature, do not trust this data.

python-gnupg library chokes on [GNUPG:] NEWSIG line that was not there in gnupg-2.0.26.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions