Bug #2185
parsing these Windows Jitsi files causes keysync to crash
Status: | New | Start date: | 10/22/2013 | |
---|---|---|---|---|
Priority: | Normal | Due 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
Related issues
History
#1 Updated by hans about 4 years ago
- Target version changed from 0.3 to 0.2.1