3 ms·
The solution is simple: PGP support in every video conferencing tool.
by amelius 6y ago
The solution is simple: PGP support in every video conferencing tool.
- k__ 6y agoMaybe this threat will finally make it more widespread and easier to use.
- vbsteven 6y agoAn interesting idea. For WebRTC this information could possibly be exchanged in the SDP offer/answer messages. An extra line in the SDP with a signature and some key info.
- zeckalpha 6y agoEasily MITMed for this use case.
- amelius 6y agoYou exchange a key using PGP. Then you use this key to encrypt the connection.
- ernopp 6y agoCould we do that with a low-enough performance hit?
- CasperDern 6y agoYes, it's pretty common in the modern web (search terms: ECDH, TLS). In this case it would be as fast as any E2EE connection.
- deleted 6y ago[deleted]
- lucb1e 6y agoI've worked on compressing (with x264, not the fastest but gets the file size right down) and encrypting a video stream with PGP and streaming the encrypted data via encrypted FTP from a Raspberry Pi. If I remember correctly, the lag was about 2 seconds, i.e. when pulling the power cable at 18:00:05, the server would have footage until 18:00:03. Most of that delay came from compression, since x264 looks at the next frame (so it waits a frame or two before running the algorithm) so the output is a bit delayed (can be disabled at the cost of much worse compression). On the raspberry pi, the encryption took a fraction of the CPU that the compression needed, so yes, PGP-encrypting a video stream is relatively trivial, even if you call the GPG agent 5 times per second and do public key crypto every time (in this case it also made for a nice and robust format, you just split on the BEGIN PGP MESSAGE strings and can ignore broken frames). This can be optimized by a lot of course. An ideal case is probably to do keyring management with PGP and then use a different, meant-for-streaming format for the actual video data encryption and transfer.
- elliekelly 6y agoCan you explain? I don’t know much about encryption/PGP but I don’t quite follow how exchanging a key via PGP prevents an imposter from posing as someone else? How does it stop me from saying “I’m Navalny’s Chief of Staff, here’s my key”?
- amelius 6y agoWell, you must somehow know the public key of the person you want to chat with. The important feature is that everyone is allowed to see this key. So you can have a trusted network that allows you to build a database of public keys of important people. Look up public key cryptosystems. A worthwhile read, the entire internet is built on this technology. https://en.wikipedia.org/wiki/Public-key_cryptography https://en.wikipedia.org/wiki/Public-key_cryptography
- jasonvorhe 6y agoDidn't expect to read simple followed by PGP on HN.
- fouc 6y agoit's like dropbox all over again
- upofadown 6y agoIn a sense we already have that. PGP works over pretty much anything. You would just send a signed message over the text chat function using ASCII armor. As with any authentication system the hard part is knowing who owns the PGP identity in the first place. We don't print the PGP fingerprints of famous people in news reports. Perhaps we should.
- ribs 6y agoWhere is the global system of registrars of all-people-that-we-wish-to-talk-to that will be built into videoconferencing software, the one that we will trust?