Comments (7)
Hi @oncecrossover and welcome to the "team"! Glad you like it so far 👍
I'll try and have a look at it over the weekend. In the meantime, which version of libolm are you using?
from jolm.
In the meantime, a few quick hints:
- The
plainText
inSession.encrypt()
doesn't refer to the actual message content you want to send, but to an event payload codified in JSON. - The session you're using is an Olm session. For its plaintext payload content and format please see this.
- I think en-/decrypting a
m.room_key
event might do as a test. - For a general introduction of all things E2E I recommend the official guide. It's certainly not the most well-written (or structured) guide but I'm not aware of a better resource.
- See that guide's section on Olm encryption for more details on the
Session.encrypt()
payload.
Hope this helps
from jolm.
Also, would you be fine with me adding your (modified) test as unit test, or do you rather want to submit a PR if and when you got your's working (for proper attribution)?
Thanks
from jolm.
Hello,
We are using 3.2.6 version.
BTW, We have encrypted message on Java, and decrypted on Android, it working fine.
from jolm.
Also, would you be fine with me adding your (modified) test as unit test, or do you rather want to submit a PR if and when you got your's working (for proper attribution)?
Thanks
Sure, I'm happy to contribute code. what's more important now is that we need a full unit test as soon as possible, our development work is broken here. could you quickly provide a unit test based on my test code? @brevilo
from jolm.
Hi @oncecrossover, you indeed hit a bug 😇
I fixed it in #3 (or the fix-2
branch). Could you please test it and report back before I merge it?
(Ignore the build failure in the PR checks, that's an unrelated GitHub workflow issue)
Thanks!
from jolm.
Hey @brevilo , it works on the fix-2
branch. 👍
from jolm.
Related Issues (9)
- Fatal error: Problematic frame: V [libjvm.dylib+0x6d20a6] SymbolTable::lookup_dynamic(int, char const*, int, unsigned int)+0x1c HOT 18
- Support JDK 1.8 in maven repository HOT 6
- io.github.brevilo.jolm.Utils$OlmException: BAD_MESSAGE_MAC HOT 4
- Fatal error: Problematic frame: # C [jna8893831892584865540.tmp+0x9220] HOT 1
- java.lang.IllegalArgumentException: Allocation size must be greater than zero HOT 2
- Add olm test libs for Windows/Mac/Linux HOT 4
- Sponsoring jOlm HOT 4
- Add CI build workflows for macOS and Windows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jolm.