r/FlutterDev • u/klpu • Jul 30 '20
Plugin We open source a Signal Protocol library for Dart and Flutter implements
https://github.com/MixinNetwork/libsignal_protocol_dart10
u/ImGeorges Jul 30 '20
I'm sorry to ask but what's a Signal Protocol?
5
Jul 30 '20 edited Jul 30 '20
[removed] — view removed comment
12
u/klpu Jul 30 '20 edited Jul 30 '20
I second that! What it is and why we need it (use cases)?
Some app use Signal protocol for end to end encryption message, like Signal app, WhatsApp, Mixin Messenger.
It's just for if you wanna develop a E2EE app use cases
3
3
u/ImGeorges Jul 30 '20
Instant messaging encryption it seems like is the main use case (somebody posted the wiki url replying my question)
4
u/qualverse Jul 30 '20 edited Jul 30 '20
So I can see that this accesses some Go code through dart:ffi, I take it that this means it will not work on Web? And does it support all other Flutter platforms (android, ios, mac, windows, linux)?
edit: also, why not use the Ed25519 from cryptography package? Is it because of speed?
2
u/klpu Jul 30 '20
Not work on web now, support flutter desktop platform. We are working use dart implements the xeddsa. Welcome contribute the code
2
u/Tougeee Aug 10 '20
You can check this PR https://github.com/MixinNetwork/libsignal_protocol_dart/pull/5
1
4
u/KantianCant Jul 30 '20
This is awesome! Has it been audited or are there plans to get it audited?
2
u/klpu Jul 30 '20
Welcome audit it.
3
u/KantianCant Jul 31 '20
I’m not qualified to :) that’s the point of getting it audited. Anyways, great work!
2
3
2
1
u/std-nullptr May 20 '25
I created a simple PoC using your protocol lib: https://github.com/stdNullPtr/Flutter-Signal-Protocol-PoC
You can see it in action in a colorful way :) (through the workflow or you can pull and run manually):
8
u/klpu Jul 30 '20
Welcome contribute the code.