update python-gnupg to 0.3.0 + add KEYEXPIRED support. Fixes #7151

This commit is contained in:
Yann Leboulanger 2012-05-18 16:58:51 +02:00
parent 1189f2c0ee
commit c28282300b
2 changed files with 622 additions and 572 deletions

File diff suppressed because it is too large Load diff

View file

@ -72,8 +72,8 @@ if HAVE_GPG:
if result.fingerprint:
return self._stripHeaderFooter(str(result))
# if 'KEYEXPIRED' in resp:
# return 'KEYEXPIRED'
if result.status == 'key expired':
return 'KEYEXPIRED'
return 'BAD_PASSPHRASE'
def verify(self, str_, sign):