Comments (4)
In GitLab by @fraunhofer-iis-anon on Jul 8, 2019, 17:52
I suggest ssl-certs to secure communication. It's not necessary, to change the protocol. And it secures other aspects like integrity(which would still be a vulnerability even with the changes) etc. of the messages, too.
from libjapi.
In GitLab by @jannismain on Jul 10, 2019, 07:47
AFAIK, SSL certs only verify the server is who he says he is, which makes Man-in-the-Middle attacks harder to execute. Transport security is a valid point and important, as soon as libjapi
connects to the WWW, but the issue with he spec I described above, is not limited to MitM vulnerability.
I was rather talking about the general ability for libjapi
push-services / request handlers to send packages, that are indistinguishable from libjapi
-internal packages.
Introducing hierarchy in the response package data layout would make this an impossibility, which results in...
- a better-defined API (as first layer of response packages would be guaranteed)
- easier client-side parsers
- less chance of bugs due to naming conflicts
from libjapi.
In GitLab by @cstender on Jul 11, 2019, 13:15
Yes, SSL is a completely different story. TLS would be is interesting but can also be provided by the WebServer Proxy. So this is low prio atm.
After talking with Thomas we think that it makes sense to implement your proposed format with some minor modifications.
-
Instead of value we would recommend the keyword data.
-
It should be discussed if we really want the success key in the first json hierarchy level. IMO this is user content and should be part of the user data blob.
Comments? Further suggestions?
from libjapi.
In GitLab by @cstender on Aug 16, 2019, 15:48
closed
from libjapi.
Related Issues (20)
- libjapi/doxydir example out of date HOT 1
- Google Testframework not optional
- Include errors using <>/"" HOT 5
- Resolve "libjapi/doxydir example out of date" - [merged] HOT 12
- dynamic creation of push service during runtime HOT 1
- Add MIT license HOT 1
- Resolve "Add MIT license" - [merged] HOT 12
- server has to remove ungracefull disconnected zombie clients HOT 3
- Resolve "Japi_pushsrv_destroy is not cleaning ctx->push_service element" - [merged] HOT 13
- Resolve "Include errors using <>/""" - [merged] HOT 8
- Resolve "Different behavior of push services in debug and release mode" - [merged] HOT 8
- Add clang-format HOT 1
- Move issues to Github HOT 10
- update sync-traning docu value written in EEPROM HOT 1
- Resolve "Add clang-format" - [merged] HOT 11
- Collect code coverage HOT 1
- Improve `make help`
- Provide more modern environments for CI
- Refactor `japi_register_request` and remove `ctx->init`
- CI: upload-artifact v3 deprecated
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 libjapi.