Closed sameerdeswal closed 2 years ago
Pyrolite only supports the Serpent serialization format. From the handshake to the actual sending and receiving of data messages.
The getFor(id) method is a leftover from the past when also Pickle was supported (in version 4 of the protocol) but this has been dropped a long time ago because it's not safe to use. https://github.com/irmen/Pyrolite#where-is-pickle
As per the code the _handshake method support other sterilizers via _PyroSerializer.getFor(msg.serializerid), but the call method always uses serpent.