signalapp / libsignal

Home to the Signal Protocol as well as other cryptographic primitives which make Signal possible.
GNU Affero General Public License v3.0
3.25k stars 385 forks source link

[ Feature ] Rust Library #277

Closed kodesoul closed 3 years ago

kodesoul commented 3 years ago

Hello ! It's rather odd to me that libsignal does not provide a rust library despite being written in rust.

Is it possible to possible to expose a rust api for people who would like to create desktop/CLI clients using rust ? Alternatively do you recommend the use of the now folded libsignal-client-rust ?

Thanks for building Signal !

hiqua commented 3 years ago

I think the answer is mostly there: https://github.com/signalapp/libsignal-client/issues/152

kodesoul commented 3 years ago

I see. Thanks for taking the time to respond !

I'll wait for the library to mature. I hope there will be a rust api.

Be-ing commented 3 years ago

@princebett if you are trying to write a Signal client in Rust, you probably want the independent libsignal-service-rs library which will soon use this libsignal-client library. If you are trying to create a GUI client, come join us working on Whisperfish. We are planning to decouple it from Sailfish OS and make it run on mobile/desktop Linux. If you are trying to create a CLI client or bot, we are also working on Presage. Come join us on Matrix at #whisperfish:rubdos.be

kodesoul commented 3 years ago

@princebett if you are trying to write a Signal client in Rust, you probably want the independent libsignal-service-rs library which will soon use this libsignal-client library. If you are trying to create a GUI client, come join us working on Whisperfish. We are planning to decouple it from Sailfish OS and make it run on mobile/desktop Linux. If you are trying to create a CLI client or bot, we are also working on Presage. Come join us on Matrix at #whisperfish:rubdos.be

Thanks !! I'll take a look at presage.