Better HN
topnewbestaskshowjobs
Log inSign up

codedokode

9,867 karma · joined Aug 20, 2015 (11y ago) · 5,528 submissions

PHP developer from Russia.
Submissions

comment 3y ago · link · parent

Corrected the comment to reflect that SSL cert infrastructure is ridiculously easy to hack.

comment 3y ago · link · parent

So for example, if traffic to Google goes through a Huawei router somewhere, then Huawei can issue a Let's Encrypt certificate for Google, right? And any large national ISP can use MitM to issue fake certificates for any site hosted within that country?

To me it looks like SSL cert infra is completely compromised and unreliable.

comment 3y ago · link · parent

No because traffic redirection occured in provider's infrastructure, not on a server.

comment 3y ago · link · parent

So SSL certificates are completely unreliable; we should only wait until Russian or Chinese comrades find a good use for this attack (e.g. temporary redirecting Western traffic using BGP to validate a Let's Encrypt's cert for Western site).

comment 3y ago · link · parent

So should we conclude that SSL cert infrastructure is completely compromised and now any country can issue fake certificates?

comment 3y ago · link · parent

The problem is that Let's Encrypt issued a fake certificate without proper validation.

UPD: I was initially wrong. It looks like many CAs will issue a valid certificate to attacker capable of doing MitM.

comment 3y ago · link · parent

Let's encrypt (and other CAs) should not allow validation using unsecure schemes like HTTP. Especially for sites that have valid certificate from other CA.

comment 3y ago · link · parent

In this case there has been a valid certificate for the site; this alone should raise suspicion.

Also, if they cannot do secure validation then maybe they should stop issuing certificates for sites that already have a proper certificate.

comment 3y ago · link · parent

This doesn't mean you should use unsecure methods instead and issue certificates to anyone capable to do MitM.

comment 3y ago · link · parent

Wouldn't be surprised if this happened in Russia; but not in Europe. Also, Let's Encrypt security is a joke - they issued fake certificate without serious checking. Using unencrypted HTTP for confirmation is a vulnerability - doesn't this mean that large national ISPs can easily issue ceritificates for any site hosted within a country?

comment 3y ago · link · parent

It depends on the country. In Russia many people use Telegram for work and for personal communication (almost every young person has it so you cannot say it is used mainly by criminals unless you count everyone as a criminal). Telegram also has channels, so you can for example read news or (if you are young enough) funny memes there. Also, Telegram is uncensored unlike web, so you can watch videos with exploding tanks if you are into this kind of stuff. But at the same time in Japan it has a negative image of an app used for shady things.

comment 3y ago · link · parent

In WhatsApp or Signal your number is visible and anyone in a public group can know who you are and burn down your house if you write something they didn't like. Yes, Telegram knows your number and your messages but it is unlikely that they will give them out to random weirdo^W manly person with strong sense of injustice.

comment 3y ago · link · parent

This is still bad, as any of them sees all the phones of members of the group. In Telegram you can hide your number.

comment 3y ago · link · parent

I meant in Telegram you don't need to share your phone number with your contants or members of a public chat you've joined. While in WhatsApp or Signal your contacts know your number and can easily find out your identity and where you live if you write something they don't like.

comment 3y ago · link · parent

No. If you join a public chat in Telegram you don't have to share your phone number with other members so you don't have to be afraid that they will find you in real life. You can write anything you want. But with WhatsApp or Signal you have to share a phone number with everyone which means they can easily find who you are and where you live (this data is cheaply sold on black market).

comment 3y ago · link · parent

With WhatsApp or Signal, if you want to talk to a stranger (e.g. if selling something) you have to share your real number, while in Telegram you can share just a username.

comment 3y ago · link · parent

I meant that Telegram doesn't display user's phone number and doesn't require sharing a number to add person to contacts. But with WhatsApp and Signal you have to disclose your number in order to talk to someone.

comment 3y ago · link · parent

Signal is finally copying what Telegram has implemented since long ago? Do people in the West simply do not care about hiding their number (judging by WhatsApp and Signal)?

comment 3y ago · link · parent

Could you give several examples of what is missing in Inkscape, but is implemented well in Figma? I only used Inkscape so I don't know much about Figma.

comment 3y ago · link · parent

Exporting text as paths in SVG makes the text non-selectable and non-copyable. What SVG should have done, is to allow specifying both text and paths to draw the letters. This is one of multiple problems with SVG.

comment 3y ago · link · parent

What about memory channels? Is there enough bandwidth for 96 cores?

comment 3y ago · link · parent

Collapsing margins are actually a good thing. If I designed CSS from scratch, I would make all margins collapsing, because you typically want 1em margin between paragraphs, not 1 + 1 em.

comment 3y ago · link · parent

Isn't the name misleading? When hearing "microfrontend" one might think that it is a technology to make frontend code smaller. But it is the opposite: there are more static resources (because you build a multi-megabyte file for every page or section of the site), and a proper name would be "megafrontend", where "mega" reflects the order of JS/CSS file size.

comment 3y ago · link · parent

If you bought PC instead of Mac, you could upgrade any component at any time.

comment 3y ago · link · parent

Wouldn't it be better (for users, not for profitability) if such companies would delete the data after analysis?

DNA analysis is very important, and probably, should be mandatory for everyone planning to have children (to reduce the number of people with incurable or very expensive to treat diseases and save healthcare budget), but with current level of privacy protection the data will just leak around. Also, when DNA screening will become mandatory, government will probably require that it gets a copy of everybody's DNA. Looks like this war is already lost.

comment 3y ago · link · parent

Nothing can win against the motivated enough government.

comment 3y ago · link · parent

If cryptocurrency wasn't so volatile it would be better than worthless government paper because 1) cryptocurrency doesn't lose its value at rate of 2-13% per year 2) nobody will ban your cryptocurrency account if you use it for business 3) nobody will require to provide documentation and proof for every transaction that happened in last 6 months in your account.
1
868788
185