Comments (4)
I'm a little confused. The whole point of insertable streams is that the server does not know the encryption keys, so that you get end-to-end authentication. Almost all of the support should happen on the client side:
- negotiation of end-to-end keys, for example using a Diffie-Hellman exchange using the "usermessage" mechanism;
- encryption on the sender side and decryption on the client side.
As far as I can see, the only change necessary on the server side should be to ensure that the Keyframe
function in codec.go
returns (false, false)
in the case of an end-to-end encrypted stream. You should also ensure that saving an end-to-end encrypted stream fails cleanly.
from galene.
Ah, I see.
Packet reception happens here: https://github.com/jech/galene/blob/master/rtpconn/rtpreader.go#L61
Packet emission happens here: https://github.com/jech/galene/blob/master/rtpconn/rtpconn.go#L224
Note that (*rtpDownTrack) Write
may be called from multiple threads simultaneously, so make sure that you do proper locking if you add state.
from galene.
@jech Thanks for answer!
Clients and server will receive their keys via other channels from outside of Galene.
The idea is to add additional encryption with own proprietary algorithm between the server and clients.
The server is trusted and it can have access to the decrypted stream.
from galene.
@jech Thank you!
from galene.
Related Issues (20)
- Local recording using getDisplayMedia and getUserMedia HOT 4
- Virtual background or background blur HOT 10
- When using any filter and trying to logout we get an error "Uncaught TypeError: c.sc is null" HOT 1
- Activity detection is does not working HOT 4
- multi language HOT 7
- Ldap integration HOT 1
- Bcrypt Encryption HOT 1
- TypeError: navigator.mediaDevices is undefined HOT 3
- Websocket upgrade: websocket: request origin not allowed by Upgrader.CheckOrigin HOT 4
- Failed to ping without candidate pairs. Connection is not possible yet. HOT 1
- Allow exposing Galene on a specific path (host.com/some/path/galene) on a reverse proxy. HOT 1
- Question: Can I set the timing for removal of messages? HOT 2
- browser to remember username and password HOT 1
- any api available? HOT 6
- Websocket connection fails on Firefox HOT 3
- installing instructions not clear at all HOT 3
- display connection time in the UI HOT 5
- token managment HOT 6
- Would it be possible to use the github "releases" feature HOT 3
- WHIP authorization / authentication ? HOT 1
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 galene.