Bug #2911
keysync 0.2-1 fails with Jitsi input
Status: | New | Start date: | 01/25/2014 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | 0.2.1 | |||
Component: |
Description
On Arch Linux, the latest version of keysync (installed from the Arch User Repository) fails to convert Jitsi keys:
@$ uname -sr
Linux 3.12.6-1-ARCH
$ keysync -i jitsi
Reading jitsi files...
Traceback (most recent call last):
File "/usr/bin/keysync", line 110, in <module>
main()
File "/usr/bin/keysync", line 87, in main
otrapps.util.merge_keydicts(keydict, properties.parse())
File "/usr/lib/python2.7/site-packages/otrapps/jitsi.py", line 93, in parse
numdict = otrapps.util.ParsePkcs8(private_key)
File "/usr/lib/python2.7/site-packages/otrapps/util.py", line 112, in ParsePkcs8
seq = ParseASN1Sequence(decoder.decode(Decode(pkcs8))[0])
File "/usr/lib/python2.7/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@
This seems related to bug #2205.
Related issues
History
#1 Updated by hans almost 4 years ago
- Target version set to 0.2.1
Thanks for the bug report. Can you tell whether this error is in a private key or a public key? If it is in a public key, could you submit that piece of the conf file here to the bug tracker? Or do you know of a way to generate a key that causes this problem?