3 ms·
> All new XChat is rolling out with encryption [...] This is built on Rust with (Bitcoin style) encryption What does "Bitcoin style encryption" mean? Isn't Bit
by diggan 1y ago
> All new XChat is rolling out with encryption [...] This is built on Rust with (Bitcoin style) encryption
What does "Bitcoin style encryption" mean? Isn't Bitcoin mostly relying on cryptographic signatures rather than "encryption" as we commonly know it?
- 77pt77 1y agoIt's just a buzzword meant to add perceived value.
- nicce 1y agoFor me it feels like that after sending messages over 5 years, you need 1TB storage just for the Twitter app.
- thewarpaint 1y agoThe source of that comment is provably not someone with deep technical expertise so take that with a grain of salt.
- londons_explore 1y agoe2e encryption is easy if everyone knows public keys for everyone else. This is how GPG works for example. However, the challenge is distributing those keys in a trustworthy way - because if someone can tamper with the keys during distribution, they can MITM any connection. I assume this "bitcoin style" encryption is a blockchain or blocktree of every users public key now and throughout history. Ship the tree root hash inside the client app, and then every user can verify that their own entry in the tree is correct, and any user can use the same verified tree to fetch a private key for any other user.
- kstrauser 1y agoI’m not sure you appreciate how large that data structure would be if you had to ship it inside the app.
- JustFinishedBSG 1y agoI'm sure shipping a >150GB file to every user is perfectly fine and sound engineering.
- VWWHFSfQ 1y agoIt's not _that_ far off from shipping a 3GB chrome webapp disguised as a desktop app (cough electron)
- kstrauser 1y agoWhat’s a couple orders of magnitude between friends?
- NicolaiS 1y agoParent comment writes: "ship[ing] the tree root hash", for a merkle tree ("bitcoin style") this would just be a single (small) hash no matter the tree size, i.e. 32 bytes is enough.
- CodesInChaos 1y agoThe idea is to only distribute the root of the tree to a client, query the server for the username you want to look up, which then returns the key and a short proof that this username maps to that key within the hash tree identified by the known root.
- kstrauser 1y agoHow is that substantially better than an API that returns a user’s key?
- londons_explore 1y agoIf the service provider (ie. the X.com servers) are evil, then the API can return false data and the client has no way to know. However, with a merkle tree, the root hash is embedded into the app, and the servers return the data together with info chaining to the merkle root (typically a few kilobytes, even if the whole tree is hundreds of gigabytes). With that info, the app can verify the chain to the root and be sure that the servers aren't returning false data.
- viraptor 1y agoWe pretty much know this can't be practically done in a distributed way. Even the public federated stores for gpg keys have been flooded so much they stopped being usable.
- paxys 1y agoIt doesn't mean anything, just sounds cool to people who don't know the tech well enough. Same reason why your HDMI cable is "gold plated for 10x speed!"
- jsheard 1y agoGold plating electrical contacts does at least do something useful though, it helps to prevent oxidization/corrosion. A better analogy would be gold plated TOSLINK cables, which unfortunately do exist.
- kees99 1y agoA lot of quack tech is technically somewhat useful. Oxygen-free copper, occasionally used in "audiophile" cables - technically is a better electrical conductor (compared to regular copper), by a whooping low single-digit %. Exact same effect could be achieved by making conductor that very same single-digit % thicker. Which is an order of magnitude cheaper. And ohmic resistance is not that important for audio-cables anyway.
- jsheard 1y agoSure, but we were talking about high-speed digital cables, not audio cables. When you're pushing 48gbps over copper (as in HDMI 2.1) the cable construction and connection integrity absolutely does matter, older HDMI cables don't work reliably at those speeds (if at all) despite having exactly the same pinout as the newer ones.
- kees99 1y agoGold-plating of contact surface of electric connectors is indeed genuinely useful, on account of preventing contact oxidation. Assuming good contact in connector(s) is achieved, gold-plating does not further help with high-speed signals. What matters here - is wire/cable itself, specifically, tight control over where conductors are relative to each other and insulation, so that impedance is well matched throughout, cross-talk is minimized, etc, etc...
- deleted 1y ago[deleted]
- arealaccount 1y agoIts there because he knows it’s going to trigger people and will get more attention
- killdozer 1y agoIt's explained in this video https://www.youtube.com/watch?v=sJNK4VKeoBM https://www.youtube.com/watch?v=sJNK4VKeoBM