signal-protocol icon indicating copy to clipboard operation
signal-protocol copied to clipboard

Can't pass in custom storage

Open yanmaani opened this issue 4 years ago • 0 comments

Hi,

I can't seem to figure out how to persist the storage to disk. I understand that I must write my own implementation, but how do I do this?

Rust expects a struct containing an InMemSignalProtocolStore, but I can't make one in Python. Is there any way to pass in a custom storage?

Otherwise, would it be possible to just have a struct full of mutable function pointers, that you could create by Python FFI?

yanmaani avatar Dec 29 '21 06:12 yanmaani