gkdr / libomemo

Implements OMEMO in C.
MIT License
55 stars 16 forks source link

Handle KeyTransport message correctly #33

Open root-hardenedvault opened 3 years ago

root-hardenedvault commented 3 years ago

Handle KeyTransport message correctly

omemo_message_export_encrypted() should not return early if only its payload is absent.

omemo_message_prepare_encryption() should be able to accept an outgoing_message without body, which would become a template of a KeyTransport message.

gkdr commented 3 years ago

hi @root-hardenedvault, thank you for your contribution!

root-hardenedvault commented 3 years ago

But how to compose a valid KeyTransport message from omemo_message_create()? as stated in:

https://github.com/gkdr/lurch/pull/162

Neustradamus commented 11 months ago

@gkdr: Any news on it?