Dissem / Jabit

Bitmessage Library for Java
Apache License 2.0
26 stars 10 forks source link

Unexpected curve type X for a part of the messages #1

Closed Dissem closed 8 years ago

Dissem commented 9 years ago

I suppose that's because of a tag that isn't handled, or some other error in parsing the binary format, and not encryption payload that uses a different curve type.

Dissem commented 9 years ago

Maybe the stack trace helps... at ch.dissem.bitmessage.entity.payload.CryptoBox$Builder.curveType(CryptoBox.java:187) at ch.dissem.bitmessage.entity.payload.CryptoBox.read(CryptoBox.java:92) at ch.dissem.bitmessage.entity.payload.Msg.read(Msg.java:46) at ch.dissem.bitmessage.factory.Factory.parseMsg(Factory.java:153) at ch.dissem.bitmessage.factory.Factory.getObjectPayload(Factory.java:118) at ch.dissem.bitmessage.factory.V3MessageFactory.readObject(V3MessageFactory.java:95) at ch.dissem.bitmessage.factory.V3MessageFactory.getPayload(V3MessageFactory.java:76) at ch.dissem.bitmessage.factory.V3MessageFactory.read(V3MessageFactory.java:49) at ch.dissem.bitmessage.factory.Factory.getNetworkMessage(Factory.java:39) at ch.dissem.bitmessage.networking.Connection.run(Connection.java:88)

Dissem commented 9 years ago

As everything seems to work very smooth by now, I think someone is actually using other curves. We might support this at some point, but at the moment I this isn't a priority.