tags 919747 help
thanks

Hi Daniel,

as you may not have noticed, I have prepared packaging for 1.0.0 in the
gnome-keysign repo on Salsa [1]. It took some work because I had to
switch everything to Python 3 due to dependency requirements (some
Python modules newly required in 1.0.0 are only available for Python 3,
and one even had to be vendored...).

However, some tests in the Magic Wormhole functionality are still
failing (see attachment) and I am struggling to find the free time to
dig deeper into this issue. It might well be something trivial that just
escapes my intuition right now -- if you can spot anything I'd be happy
to pick up the trail.

I'm tagging this as "help" and also cc'd this to upstream to get things
moving ;)
Tobias, is this something you've seen before?

Cheers
Sascha

[1] https://salsa.debian.org/debian/gnome-keysign

On 1/19/19 6:22 AM, Daniel Kahn Gillmor wrote:
> Package: gnome-keysign
> Version: 0.9.8-1
> Severity: wishlist
> 
> gnome-keysign 1.0.0 was released by upstream 11 days ago:
> 
> https://github.com/gnome-keysign/gnome-keysign/releases/tag/1.0.0
> 
> It would be great if we could have it in debian!
> 
> thanks for maintaining gnome-keysign,
> 
>        --dkg
> 
> -- System Information:
> Debian Release: buster/sid
>   APT prefers testing-debug
>   APT policy: (500, 'testing-debug'), (500, 'testing'), (200, 
> 'unstable-debug'), (200, 'unstable'), (1, 'experimental-debug'), (1, 
> 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
> LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages gnome-keysign depends on:
> ii  avahi-daemon                 0.7-4+b1
> ii  gir1.2-glib-2.0              1.58.3-2
> ii  gir1.2-gst-plugins-base-1.0  1.14.4-1
> ii  gir1.2-gstreamer-1.0         1.14.4-1
> ii  gir1.2-gtk-3.0               3.24.2-3
> ii  gstreamer1.0-gtk3            1.14.4-1
> ii  gstreamer1.0-plugins-bad     1.14.4-1+b1
> ii  gstreamer1.0-plugins-good    1.14.4-1
> ii  gstreamer1.0-x               1.14.4-1
> ii  python                       2.7.15-3
> ii  python-avahi                 0.7-4+b1
> ii  python-cairo                 1.16.2-1+b1
> ii  python-dbus                  1.2.8-2+b3
> ii  python-gi                    3.30.4-1
> ii  python-gi-cairo              3.30.4-1
> ii  python-gpg                   1.12.0-4
> ii  python-qrcode                6.0-1
> ii  python-requests              2.20.0-2
> ii  python-twisted-core          18.9.0-3
> 
> gnome-keysign recommends no packages.
> 
> gnome-keysign suggests no packages.
> 
> -- no debconf information
> 
======================================================================
ERROR: test_wormhole.test_offer_cancel
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/usr/lib/python3/dist-packages/nose/twistedtools.py", line 169, in 
wrapper
    raise exc_type(exc_value).with_traceback(tb)
  File "/usr/lib/python3/dist-packages/nose/twistedtools.py", line 143, in 
errback
    failure.raiseException()
  File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 467, in 
raiseException
    raise self.value.with_traceback(self.tb)
ValueError: No data to export for A2ECF6A72BCFD74F4165B389034094FB8FD495FB (in 
None)
-------------------- >> begin captured logging << --------------------
keysign.gpgmeh: DEBUG: Import Result: ImportResult(considered=1, imported=1, 
imported_rsa=0, 
imports=[ImportStatus(fpr='A2ECF6A72BCFD74F4165B389034094FB8FD495FB', result=0, 
status=1), ImportStatus(fpr='A2ECF6A72BCFD74F4165B389034094FB8FD495FB', 
result=0, status=17)], new_revocations=0, new_signatures=0, new_sub_keys=0, 
new_user_ids=0, no_user_id=0, not_imported=0, secret_imported=1, secret_read=1, 
secret_unchanged=0, skipped_new_keys=0, skipped_v3_keys=0, unchanged=0)
keysign.gpgkey: DEBUG: UID from gpgme: 'Another Test <second@uid>'
keysign.gpgkey: DEBUG: UID from gpgme: 'Test Key <t...@test.test>'
test_wormhole: INFO: Running with key Key(expiry=None, 
fingerprint='A2ECF6A72BCFD74F4165B389034094FB8FD495FB', 
uidslist=[UID(expiry=None, uid='Another Test <second@uid>', name='Another 
Test', comment='', email='second@uid'), UID(expiry=None, uid='Test Key 
<t...@test.test>', name='Test Key', comment='', email='t...@test.test')])
keysign.gpgmeh: DEBUG: Exported 'A2ECF6A72BCFD74F4165B389034094FB8FD495FB': b''
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_wormhole.test_wrmhl
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/usr/lib/python3/dist-packages/nose/twistedtools.py", line 169, in 
wrapper
    raise exc_type(exc_value).with_traceback(tb)
  File "/usr/lib/python3/dist-packages/nose/twistedtools.py", line 143, in 
errback
    failure.raiseException()
  File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 467, in 
raiseException
    raise self.value.with_traceback(self.tb)
ValueError: No data to export for A2ECF6A72BCFD74F4165B389034094FB8FD495FB (in 
None)
-------------------- >> begin captured logging << --------------------
keysign.gpgmeh: DEBUG: Import Result: ImportResult(considered=1, imported=1, 
imported_rsa=0, 
imports=[ImportStatus(fpr='A2ECF6A72BCFD74F4165B389034094FB8FD495FB', result=0, 
status=1), ImportStatus(fpr='A2ECF6A72BCFD74F4165B389034094FB8FD495FB', 
result=0, status=17)], new_revocations=0, new_signatures=0, new_sub_keys=0, 
new_user_ids=0, no_user_id=0, not_imported=0, secret_imported=1, secret_read=1, 
secret_unchanged=0, skipped_new_keys=0, skipped_v3_keys=0, unchanged=0)
keysign.gpgkey: DEBUG: UID from gpgme: 'Another Test <second@uid>'
keysign.gpgkey: DEBUG: UID from gpgme: 'Test Key <t...@test.test>'
keysign.gpgmeh: DEBUG: Exported 'A2ECF6A72BCFD74F4165B389034094FB8FD495FB': b''
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_wormhole.test_wrmhl_offline_code
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/usr/lib/python3/dist-packages/nose/twistedtools.py", line 169, in 
wrapper
    raise exc_type(exc_value).with_traceback(tb)
  File "/usr/lib/python3/dist-packages/nose/twistedtools.py", line 143, in 
errback
    failure.raiseException()
  File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 467, in 
raiseException
    raise self.value.with_traceback(self.tb)
ValueError: No data to export for A2ECF6A72BCFD74F4165B389034094FB8FD495FB (in 
None)
-------------------- >> begin captured logging << --------------------
keysign.gpgmeh: DEBUG: Import Result: ImportResult(considered=1, imported=1, 
imported_rsa=0, 
imports=[ImportStatus(fpr='A2ECF6A72BCFD74F4165B389034094FB8FD495FB', result=0, 
status=1), ImportStatus(fpr='A2ECF6A72BCFD74F4165B389034094FB8FD495FB', 
result=0, status=17)], new_revocations=0, new_signatures=0, new_sub_keys=0, 
new_user_ids=0, no_user_id=0, not_imported=0, secret_imported=1, secret_read=1, 
secret_unchanged=0, skipped_new_keys=0, skipped_v3_keys=0, unchanged=0)
keysign.gpgkey: DEBUG: UID from gpgme: 'Another Test <second@uid>'
keysign.gpgkey: DEBUG: UID from gpgme: 'Test Key <t...@test.test>'
keysign.gpgmeh: DEBUG: Exported 'A2ECF6A72BCFD74F4165B389034094FB8FD495FB': b''
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_wormhole.test_wrmhl_with_hmac
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/usr/lib/python3/dist-packages/nose/twistedtools.py", line 169, in 
wrapper
    raise exc_type(exc_value).with_traceback(tb)
  File "/usr/lib/python3/dist-packages/nose/twistedtools.py", line 143, in 
errback
    failure.raiseException()
  File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 467, in 
raiseException
    raise self.value.with_traceback(self.tb)
ValueError: No data to export for A2ECF6A72BCFD74F4165B389034094FB8FD495FB (in 
None)
-------------------- >> begin captured logging << --------------------
keysign.gpgmeh: DEBUG: Import Result: ImportResult(considered=1, imported=1, 
imported_rsa=0, 
imports=[ImportStatus(fpr='A2ECF6A72BCFD74F4165B389034094FB8FD495FB', result=0, 
status=1), ImportStatus(fpr='A2ECF6A72BCFD74F4165B389034094FB8FD495FB', 
result=0, status=17)], new_revocations=0, new_signatures=0, new_sub_keys=0, 
new_user_ids=0, no_user_id=0, not_imported=0, secret_imported=1, secret_read=1, 
secret_unchanged=0, skipped_new_keys=0, skipped_v3_keys=0, unchanged=0)
keysign.gpgkey: DEBUG: UID from gpgme: 'Another Test <second@uid>'
keysign.gpgkey: DEBUG: UID from gpgme: 'Test Key <t...@test.test>'
keysign.gpgmeh: DEBUG: Exported 'A2ECF6A72BCFD74F4165B389034094FB8FD495FB': b''
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_wormhole.test_wrmhl_wrong_hmac
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/usr/lib/python3/dist-packages/nose/twistedtools.py", line 165, in 
wrapper
    % timeout)
nose.tools.nontrivial.TimeExpired: timeout expired before end of test 
(10.000000 s.)

-------------------- >> begin captured logging << --------------------
keysign.gpgmeh: DEBUG: Import Result: ImportResult(considered=1, imported=1, 
imported_rsa=0, 
imports=[ImportStatus(fpr='A2ECF6A72BCFD74F4165B389034094FB8FD495FB', result=0, 
status=1), ImportStatus(fpr='A2ECF6A72BCFD74F4165B389034094FB8FD495FB', 
result=0, status=17)], new_revocations=0, new_signatures=0, new_sub_keys=0, 
new_user_ids=0, no_user_id=0, not_imported=0, secret_imported=1, secret_read=1, 
secret_unchanged=0, skipped_new_keys=0, skipped_v3_keys=0, unchanged=0)
keysign.gpgkey: DEBUG: UID from gpgme: 'Another Test <second@uid>'
keysign.gpgkey: DEBUG: UID from gpgme: 'Test Key <t...@test.test>'
test_wormhole: INFO: Running with key Key(expiry=None, 
fingerprint='A2ECF6A72BCFD74F4165B389034094FB8FD495FB', 
uidslist=[UID(expiry=None, uid='Another Test <second@uid>', name='Another 
Test', comment='', email='second@uid'), UID(expiry=None, uid='Test Key 
<t...@test.test>', name='Test Key', comment='', email='t...@test.test')])
keysign.wormholeoffer: INFO: Invitation Code: 7-butterfat-aztec
keysign.wormholeoffer: INFO: Wormhole: Sending a message
keysign.util: DEBUG: Parsed '7-butterfat-aztec' into ParseResult(scheme='', 
netloc='', path='7-butterfat-aztec', params='', query='', fragment='')
keysign.util: DEBUG: Parsed barcode into {'fingerprint': '7-butterfat-aztec'}
keysign.wormholereceive: INFO: Wormhole: Trying to receive a message with code: 
7-butterfat-aztec
keysign.wormholeoffer: INFO: Verified key: 
2ea5526734f8386261af212922c4c6e818f43f24721cb034c4528ebec06df894
keysign.gpgmeh: DEBUG: Exported 'A2ECF6A72BCFD74F4165B389034094FB8FD495FB': b''
keysign.wormholeoffer: ERROR: An unknown error occurred: Inappropriate argument 
value (of correct type).
--------------------- >> end captured logging << ---------------------

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to