Incompatible with libsignal-ffi 0.37.0
niklaskorz opened this issue · 1 comments
niklaskorz commented
Just to see what happens, I tried updating libsignal-ffi from 0.36.1 to 0.37.0 (I couldn't find any breaking changes in the release changelog), resulting in this panic:
Dec 29 16:32:25 raspberrypi mautrix-signal[178512]: ERR thread '<unnamed>' panicked at 'zkgroup::api::server_params::ServerPublicParams should have been validated on creation': rust/bridge/shared/src/ffi/convert.rs:519
Dec 29 16:32:25 raspberrypi mautrix-signal[178512]: 0: <unknown>
Dec 29 16:32:25 raspberrypi mautrix-signal[178512]: 1: <unknown>
Dec 29 16:32:25 raspberrypi mautrix-signal[178512]: 2: <unknown>
Dec 29 16:32:25 raspberrypi mautrix-signal[178512]: 3: <unknown>
Dec 29 16:32:25 raspberrypi mautrix-signal[178512]: 4: <unknown>
Dec 29 16:32:25 raspberrypi mautrix-signal[178512]: 5: <unknown>
Dec 29 16:32:25 raspberrypi mautrix-signal[178512]: 6: <unknown>
Dec 29 16:32:25 raspberrypi mautrix-signal[178512]: 7: <unknown>
Dec 29 16:32:25 raspberrypi mautrix-signal[178512]: 8: <unknown>
Dec 29 16:32:25 raspberrypi mautrix-signal[178512]: 9: <unknown>
Dec 29 16:32:25 raspberrypi mautrix-signal[178512]: 10: <unknown>
Dec 29 16:32:25 raspberrypi mautrix-signal[178512]: component=libsignal file=/build/cargo-vendor-dir/log-panics-2.1.0/src/lib.rs line=130 target=panic
Dec 29 16:32:25 raspberrypi mautrix-signal[178512]: ERR CreateProfileKeyCredentialRequestContext error error="3: unexpected panic: zkgroup::api::server_params::ServerPublicParams should have been validated on creation" component=signalmeow
Dec 29 16:32:25 raspberrypi mautrix-signal[178512]: ERR ProfileKeyCredentialRequest error error="3: unexpected panic: zkgroup::api::server_params::ServerPublicParams should have been validated on creation" component=signalmeow
Dec 29 16:32:25 raspberrypi mautrix-signal[178512]: ERR fetchContactThenTryAndUpdateWithProfile: error retrieving profile for uuid: 887a87f5-80d4-4bf2-8ab0-5024dbf8ffe9 error="3: unexpected panic: zkgroup::api::server_params::ServerPublicParams should have been validated on creation" component=signalmeow
tulir commented
The libsignal version has to match exactly