by oxylibrium · 5y ago · 0 comments
This "DRM" plays at least some role in making the optimizers in V8 work a lot harder to get anything reasonable out of the spaghetti.
Why Google needs DRM for a web email app? Beyond me.
The reason we use such tactics is to increasing barrier of reverse engineering because our teams value their work. Some people claim that security through obscurity is bad. I challenge this view. I claim that every security defense such as RSA is a obscurity.
It's a matter of time until RSA breaks in the same way as Obfuscation does.
Gmail is not your let's make it weekend kind of app. It's highly sophisticated and deliver huge value.
There are lot of people who hate Obfuscation. Some are communists and others are attackers.
My wife (she works in the fraud detection department) found an interesting attacker who masqueraded as a security researcher and student of X University, but in fact he was a a criminal scum. He has reverse engineered anti-fraud scripts of many websites and published them on Github for everyone to see. His main goal was to attract malicious buyers and sell them scripts that bypass this protection. It was one of the heck of marketing.
Brian Krebs also had similar story on his blog.
First, encryption is not "obscurity" in the same way you think DRM is.
Second, several other email providers don't think they need to rely on some performance-killing DRM to "protect" their web app (oh no, what of all the value!).
Outlook has a part of their files minified, but doesn't use any obfuscation; apps like ProtonMail[0] and Tutanota[1] are even open source.
(I'm actually starting to migrate off of Gmail to Protonmail myself.)
[0]: https://github.com/ProtonMail/proton-mail/ (the new site, on beta.protonmail.com) [1]: https://github.com/tutao/tutanota
Oh, and there's no need to call people "communists", "attackers", or "criminal scum". Be civil.
> Quantum computers will break RSA
Now here it will take X amount of time so is breaking any protection like DRM.
The goal of any security method is increasing attack time.
TLS got attacked, SSL got attacked. History repeats itself. Period.
> Oh, and there's no need to call people "communists", "attackers", or "criminal scum". Be civil.
Why? I have a right to use these terms. What should I use instead?
Would you call Osama Bin Laden as "His Highness Bin Laden"?
The words exists for reason. I use them in appropriate context.
People don't understand Russian soul. I'm very direct and speak my mind!
>> Second, several other email providers don't think they need to rely on some performance-killing DRM to "protect" their web app (oh no, what of all the value!).
>> Outlook has a part of their files minified, but doesn't use any obfuscation; apps like ProtonMail[0] and Tutanota[1] are even open source.
So? What's your point?
You have Linux which is Open Source and you have Windows (A lot of parts including their licencing is obfuscated)
The performance hit is minimal. ProtonMail & Tutanota are way slower than GMail and lack cutting edge features we offer.
Gmail vs Outlook is like Ferrari vs Toyota.
Gmail has great UX even my grandmother can use it.
While there may be a case for DRM in some places, gmail is almost certainly not it.
I'll bite once again - from personal experience, I knew Gmail is slower than ProtonMail, but I tested it anyway. I loaded both Gmail and ProtonMail, using the browser's profiler. Gmail spent 6x the time ProtonMail did in the garbage collector, and 2x the time ProtonMail spent in the JIT compiler.
DRM is a contributor to that.
That's it. You're underestimating hard work.
Try to create a full Gmail clone over weekend.