-
pep.
I think I'm late to the party, it's the xhtml-im thread all over again
-
stuxnet
Maybe you should ask a search engine of your trust
-
Syndace
My OMEMO library successfully decrypted its first message sent to it from conversations today!
-
MattJ
Yay :)
-
Syndace
Is my name Syndace currently? Little confused
-
MattJ
Yes
-
Syndace
Nice
-
vanitasvitae
Syndace: nice!
-
goffi
Syndace: great, looking forward to try it.
-
Maranda
Urm the OSX Messages App can do xmpp?
-
Zash
You don't remember iChat?
-
Maranda
Hmm yes but I don't know if it still has xmpp support
-
Maranda
Zash, apple stuff not really my thing tbh :P
-
marc
Syndace, what language do you use for your OMEMO lib?
-
Syndace
Python
-
Syndace
(2 and 3)
-
goffi
Syndace: which dependencies does it have?
-
Syndace
libsodium for the crypto and google protobuf for the wire format
-
vanitasvitae
Syndace: you know that OWS likes to consider implementations of the signal protocol as derivative work? :/
-
Syndace
vanitasvitae, the specification of the protocol is creative commons
-
marc
Syndace, what is your use case? are you also working on a xmpp client?
-
iiro.laiho
but can a protocol really be copyrightable?
-
Syndace
vanitasvitai, But I don't know a whole lot about licenses, I hope for a little help by you guys once it's public
-
Syndace
marc, I want to provide a solid alternative to the monopoly libsignal implementation, that does not use GPL.
-
Zash
Syndace: Have you as much as thought about looking at their implementation?
-
moparisthebest
iiro.laiho: Oracle lawyers would argue yes
-
Syndace
I hope it'll help OMEMO move forward
-
moparisthebest
Syndace: you probably can't accept help from anyone who looked at gpl signal code
-
Syndace
Damn what?
-
Syndace
I can't even look at it?
-
marc
vanitasvitae, wait, the OWS guys hinder open source devs implementing their protocol?
-
moparisthebest
Syndace: no you cannot look at it
-
Syndace
I did not reuse any of their code
-
vanitasvitae
marc: i remember they sued the wire guys
-
vanitasvitae
But that was before the protocol specs were released afaik
-
Syndace
I finished the library without looking at libsignal, only when I was done I had to look at it, to know how they serialize their data structures.
-
Syndace
I can't be compatible to their library without knowing that
-
moparisthebest
Syndace: that makes it a derivative work and gpl I think
-
Syndace
Why is GPL such cancer
-
Syndace
(sorry)
-
Syndace
I guess if things get problematic it's okay to go with GPL until we maybe move away from libsignals wire format and we finally have our own OMEMO.
-
marc
Syndace, is there demand for a non-gpl lib?
-
moparisthebest
https://en.wikipedia.org/wiki/Clean_room_design?wprov=sfla1
-
moparisthebest
Check that Syndace
-
Zash
marc: You've not seen the looooooong threads about how OMEMO can't be used unless there's a non-GPL library?
-
moparisthebest
Gpl is the best, don't fight it, just let it's glory wash over you
-
Syndace
moparisthebest: Thanks, will do so later
-
marc
Zash, no, are you kidding me? :D
-
SamWhited
Please dear god don't make another GPL implementation…
-
Zash
marc: I don't know how long the threads were. Server dev, etc.
-
Syndace
Aaaaaaah haaalp :D
-
Zash
marc: But they existed.
-
SamWhited
I would absolutely *love* it if there was an Apache or BSD/MIT/similar licensed version.
-
Zash
Code in RFCs are usually some BSD license for a reason, after all.
-
Syndace
I really don't want GPL, but if just looking at their wire format makes the lib GPL, I have no choice
-
marc
Zash, what's the problem in a nutshell?
-
SamWhited
It doesn't as long as you're not redistributing their library or code.
-
SamWhited
(disclaimer: not a lawyer, etc.)
-
Syndace
Well the one thing that I kind of have to "copy" or at least recreate is their protobuf structure definition
-
goffi
Syndace: FSF can link you with a lawyer if you need advices
-
Syndace
That's just part of the current OMEMO specification and there's no way (I can think of) to avoid that
-
Zash
marc: It doesn't fit in a nutshell.
-
SamWhited
Are we still using their protobuf stuff? I thought daniel moved OMEMO off of that a while ago
-
SamWhited
Apparently I was mistaken
-
Syndace
SamWhited, nope, that's the current OMEMO xep
-
Syndace
including the protobuf stuff
-
Syndace
SamWhited: I think the other ones are still pr's on github
-
SamWhited
oh right, we never merged those.
-
SamWhited
Partially due to the disagreement about there not being a non-GPL library, IIRC :)
-
Syndace
Ha!
-
moparisthebest
Syndace: so the proper way to do that is have someone else look and document it, then you recreate it from docs
-
Zash
marc: Look for posts by Remko or Kev I guess
-
moparisthebest
But it's too late now...
-
Syndace
moparisthebest: Not too late, the wireformat is just a super small part, I might aswell release the lib without the wire format first.
-
marc
Zash, @standards
-
Zash
Implement only from documentation, while being locked in a room with only that documentation and an airgapped type writer.
-
marc
?
-
Zash
marc: yes
-
moparisthebest
But then you can't write it since you looked Syndace , you could document it though
-
Zash
Or pray that they don't read these logs :)
-
moparisthebest
https://github.com/SirCmpwn/TrueCraft/blob/master/README.md#get-involved similarish problem explaining it Syndace
-
moparisthebest
OWS does have a history of suing people too
-
Syndace
So, following plan: The library is alreay split into multiple projects: The X3DH key agreement, the DoubleRatchet the XEdDSA and the final OMEMO library, putting it all together. All of the parts, except for the OMEMO library, were written without having a single look at the libsignal implementation. So, I could release huge parts under MIT, except for the OMEMO part, which I have to GPL apparently. That's what we could do as a transitional solution. And as soon as we merge a PR moving away from the libsignal wire format, we can swap the last part to MIT.
-
vanitasvitae
Syndace: you could define your own wire format
-
vanitasvitae
The we patch libsignal :D
-
vanitasvitae
Nevermind, thata what you just wrote :D
-
lovetox
Syndace, do you have your code public?
-
Syndace
not yet
-
Syndace
Expected in a few days, less than a week
-
lovetox
i currently use python-axolotl
-
lovetox
but it uses pycrypto which is bad, and also the project seems not maintained anymore
-
lovetox
so im looking forward to your work
-
Syndace
lovetox: Nice to hear, I'm super excited :D
-
Syndace
My phone is going to die, I'll read through the links you sent me later, in the worst case I'll just have to GPL it for now and we'll see what the future brings. I really don't want problems with the law.
-
goffi
Syndace: GPL is OK for me, looking forward to try it too, thanks to it I may implement OMEMO earlier than initially planed
-
moparisthebest
Honestly closed source e2e is worthless anyway
-
goffi
moparisthebest: GPL is an issue with Apple, AFAIK it's not compatible with apple store
-
moparisthebest
goffi: Apple can go to hell :)
-
goffi
I could do a IPhone frontend more or less easily without that
-
Syndace
goffi: libsignal has an exception for apply in their lib
-
goffi
moparisthebest: agreed, but still lot of people use it, and if we want XMPP to spread
-
moparisthebest
But libsignal etc has Apple store exceptions...
-
moparisthebest
goffi: chatsecure on iOS already does omemo
-
goffi
moparisthebest: yes, but would be nice to have alternative, and in our case we have many features not implemented in chat secure
-
moparisthebest
goffi: what's stopping anyone from improving it, forking it, or just creating a new one?
-
moparisthebest
Certainly not the gpl
-
goffi
moparisthebest: I have already a client which could work in iOS easily on the technical side, but not because of their stupid conditions, that's all I'm saying.
-
moparisthebest
goffi: so complain to Apple? Idk
-
moparisthebest
The solution to brain dead apple policy decisions is not to relicense all software with worse licences
-
daniel
iOS market share is in decline. Just sit it out
-
goffi
moparisthebest: I was saying that to explain why GPL could be a problem (I was not aware of the exception in libsignal), and I'm not willing to relicense because of apple.
-
moparisthebest
But that's an apple problem not a gpl one...
-
goffi
I agree, but that's a reason why people may want an non gpl OMEMO lib
-
goffi
I'm not blaming GPL in any way
-
moparisthebest
It's clear why Apple hates the GPL, they've made their Fortune off the backs of open source code that isn't GPL, if everything was GPL they wouldn't be a company
-
Zash
They haven't figured out how it goes both ways
-
moparisthebest
Well GPL makes it go both ways, MIT/ Apache etc it only goes one way, into Apple's pockets
-
Zash
I mean, the dual-licensing thing some do.
-
Andrew Nenakhov
goffi, > moparisthebest: GPL is an issue with Apple, AFAIK it's not compatible with apple store That is not true
-
Andrew Nenakhov
One can run open source app on AppStore pretty fine unless some of the contributors will issue a complaint. That was the reason of vlc takedown several years ago
-
Andrew Nenakhov
So we'll be forced to sign contributors to give us all rights to contributed code if we are to accept PRs
-
moparisthebest
Haha JC made it http://n-gate.com/hackernews/