Bug #2185

parsing these Windows Jitsi files causes keysync to crash

Added by hans about 4 years ago. Updated about 4 years ago.

Status:NewStart date:10/22/2013
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:0.2.1
Component:

Description

Copy files to tests/ and run this to see the crash:

$ ./keysync --test tests/ -i jitsi
Reading jitsi files...
Traceback (most recent call last):
  File "./keysync", line 110, in <module>
    main()
  File "./keysync", line 85, in main
    otrapps.util.merge_keydicts(keydict, properties.parse(settings_dir))
  File "/Volumes/share/code/guardianproject/keysync/otrapps/jitsi.py", line 90, in parse
    numdict = otrapps.util.ParsePkcs8(private_key)
  File "/Volumes/share/code/guardianproject/keysync/otrapps/util.py", line 112, in ParsePkcs8
    seq = ParseASN1Sequence(decoder.decode(Decode(pkcs8))[0])
  File "/Volumes/share/code/guardianproject/keysync/env/lib/python2.6/site-packages/pyasn1/codec/ber/decoder.py", line 596, in __call__
    'Short octet stream on tag decoding'
pyasn1.error.SubstrateUnderrunError: Short octet stream on tag decoding

contactlist.xml Magnifier (2.23 KB) hans, 10/22/2013 09:24 pm

sip-communicator.properties Magnifier (30.8 KB) hans, 10/22/2013 09:24 pm


Related issues

Duplicated by KeySync - Bug #2205: keysync 0.2.0 fails to convert keys on ubuntu New 10/24/2013

History

#1 Updated by hans about 4 years ago

  • Target version changed from 0.3 to 0.2.1

Also available in: Atom PDF