facebookresearch / asynchronousratchetingtree Goto Github PK
View Code? Open in Web Editor NEWOn Ends-to-Ends Encryption: Asynchronous Group Messaging with Strong Security Guarantees
License: Other
On Ends-to-Ends Encryption: Asynchronous Group Messaging with Strong Security Guarantees
License: Other
Main.java
uses SecureRandom
, but crypto.Crypto.java
uses Random
with a comment that SecureRandom
fails out of the box on Ubuntu openjdk. We should settle on one of those two (either is fine I think, as long as all uses of Random
are commented as Bad Ideas) and use it consistently.
This repository has a CC-BY-NC license. Does this only apply to the reference implementation or also to the usage of the algorithm itself?
Is there any chance that the algorithm gets opened up to use by everybody, just like the double ratchet from Open Whisper Systems?
For Reasons, standard JRE installs do not support sane cryptography by default; you have to install a policy file. This causes the benchmark runs to fail on a stock install with the error below. To make this more usable, we should either
[2018-21-08 15:21:09.886] Illegal key size
java.security.InvalidKeyException: Illegal key size
at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
at javax.crypto.Cipher.implInit(Cipher.java:805)
at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
at javax.crypto.Cipher.init(Cipher.java:1396)
at javax.crypto.Cipher.init(Cipher.java:1327)
at com.facebook.research.asynchronousratchetingtree.crypto.Crypto.encrypt(Crypto.java:123)
at com.facebook.research.asynchronousratchetingtree.dhratchet.DHRatchet.sendMessage(DHRatchet.java:92)
at com.facebook.research.asynchronousratchetingtree.dhratchet.DHRatchet.sendMessage(DHRatchet.java:23)
at com.facebook.research.asynchronousratchetingtree.Main.testRun(Main.java:190)
at com.facebook.research.asynchronousratchetingtree.Main.dhTestRun(Main.java:102)
at com.facebook.research.asynchronousratchetingtree.Main.main(Main.java:28)
Exception in thread "main" java.lang.RuntimeException
at com.facebook.research.asynchronousratchetingtree.Utils.except(Utils.java:65)
at com.facebook.research.asynchronousratchetingtree.crypto.Crypto.encrypt(Crypto.java:138)
at com.facebook.research.asynchronousratchetingtree.dhratchet.DHRatchet.sendMessage(DHRatchet.java:92)
at com.facebook.research.asynchronousratchetingtree.dhratchet.DHRatchet.sendMessage(DHRatchet.java:23)
at com.facebook.research.asynchronousratchetingtree.Main.testRun(Main.java:190)
at com.facebook.research.asynchronousratchetingtree.Main.dhTestRun(Main.java:102)
at com.facebook.research.asynchronousratchetingtree.Main.main(Main.java:28)
make: *** [run] Error 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.