Package: monkeysign
Version: 0.8
Severity: grave
Control: found -1 0.7.1
msign-cli completely crashes when generating the signed email for this key I
have here.
anarcat@marcos:monkeysign$ ./msign-cli --no-mail 460CF92B
Preparing to sign with this key
pub [unknown] 4096R/7B75921E 1243621534 [expiry: 1464748981]
Fingerprint = 8DC9 01CE 6414 6C04 8AD5 0FBB 7921 5252 7B75 921E
uid 1 [unknown] Antoine Beaupré (home address) <[email protected]>
uid 2 [unknown] Antoine Beaupré (work) <[email protected]>
uid 3 [unknown] Antoine Beaupré <[email protected]>
uid 4 [unknown] Antoine Beaupré (Debian) <[email protected]>
uid 5 [unknown] Antoine Beaupré <[email protected]>
sub 2048R/D2DF2587 1342619928
sub 4096R/9C5A5581 1243622183
Signing the following key
pub [unknown] 4096R/XXXXXXX 1333261561 [expiry: 1427846400]
Fingerprint = XXXX XXXX XXXX XXXX XXXX XXXXX XXXX XXXX XXXX XXXX
uid 1 [unknown] Joe User <[email protected]>
uid 2 [unknown] Joe User <[email protected]>
sub 4096R/446248DC 1333261561 [expiry: 1364774400]
Sign all identities? [y/N] y
Really sign key? [y/N] y
Traceback (most recent call last):
File "./msign-cli", line 34, in <module>
u.main()
File "/home/anarcat/src/monkeysign/monkeysign/cli.py", line 62, in main
self.export_key()
File "/home/anarcat/src/monkeysign/monkeysign/ui.py", line 342, in export_key
%s""" % (msg['To'], msg))
File "/usr/lib/python2.7/email/message.py", line 122, in __str__
return self.as_string(unixfrom=True)
File "/usr/lib/python2.7/email/message.py", line 137, in as_string
g.flatten(self, unixfrom=unixfrom)
File "/usr/lib/python2.7/email/generator.py", line 83, in flatten
self._write(msg)
File "/usr/lib/python2.7/email/generator.py", line 108, in _write
self._dispatch(msg)
File "/usr/lib/python2.7/email/generator.py", line 134, in _dispatch
meth(msg)
File "/usr/lib/python2.7/email/generator.py", line 203, in _handle_multipart
g.flatten(part, unixfrom=False)
File "/usr/lib/python2.7/email/generator.py", line 83, in flatten
self._write(msg)
File "/usr/lib/python2.7/email/generator.py", line 108, in _write
self._dispatch(msg)
File "/usr/lib/python2.7/email/generator.py", line 134, in _dispatch
meth(msg)
File "/usr/lib/python2.7/email/generator.py", line 177, in _handle_text
raise TypeError('string payload expected: %s' % type(payload))
TypeError: string payload expected: <type 'bool'>
I am not sure this affects all key signing, but this seems important
enough to mark as grave.
I am developing a unit test for that less explored code path and will
release a new 0.9 release as soon as I can.
I am surprised to say it also affects the testing release.
-- System Information:
Debian Release: 7.1
APT prefers stable
APT policy: (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages monkeysign depends on:
ii gnupg 1.4.12-7
ii python 2.7.3-4
Versions of packages monkeysign recommends:
ii python-gtk2 2.24.0-3+b1
ii python-qrencode 1.01-2+b1
ii python-zbar 0.10+doc-8
ii python-zbarpygtk 0.10+doc-8
monkeysign suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]