9,867 karma · joined Aug 20, 2015 (11y ago) · 5,528 submissions
comment 3y ago · link · parent
> In some cases, for example, when the older device was lost or damaged, users may need to recover the end-to-end encryption keys from a secure online backup.
> To recover the end-to-end encryption key, the user must provide the lock screen PIN, password, or pattern of another existing device that had access to those keys.
This clearly states that you don't need original device to decrypt the keys: you only need a backup and a PIN code or unlock pattern which are easy to bruteforce.
[1] https://security.googleblog.com/2022/10/SecurityofPasskeysin...
comment 3y ago · link · parent
comment 3y ago · link · parent
With solution proposed by Google, the keys are stored on the phone. If an attacker gains access to the phone using one of numerous vulnerabilities in Linux kernel, they can bypass any biometric locks. And PINs are short, so they can be easily bruteforced.
The better solution is a physical hardware key that doesn't have tens of megabytes of ponentially vulnerable code and is not controlled by Google.
comment 3y ago · link · parent
First, they are stored in a phone internal storage. This is not secure because phones have complicated software with large attack surface, and if an attacker finds a vulnerability, then they can gain access to all private keys on that device. If the phone is lost or stolen, then the keys can be recovered by reading phone's internal storage. Even if the keys are protected by a PIN, the PINs are usually short and can be easily bruteforced. If they are protected by a fingerprint or biometric lock then I assume that they are not encrypted at all.
Second, to synchronize keys between devices, private keys are uploaded to Google's cloud [1]. The post metions that they are end-to-end encrypted, by doesn't specify any details. However, it says that the keys can be decrypted on a new device if the user provides a PIN or unlock pattern:
> To recover the end-to-end encryption key, the user must provide the lock screen PIN, password, or pattern of another existing device that had access to those keys.
This means that keys stored in Google cloud are either not encrypted or use weak encryption keys that can be easily bruteforced by Google.
Third, synchronizing keys relies on Google's infrastructure. If you ever get banned from Google, you will lose the ability to synchronize keys, and maybe access to them as well.
So instead of promoting secure, easy to use, vendor-independent, cheap hardware keys, Google suggests that everyone stores their private keys either in a Google cloud or on devices where Google has root access. I don't think that it's a great idea.
[1] https://security.googleblog.com/2022/10/SecurityofPasskeysin...
Also, I don't like FIDO standard because it requires attestation of hardware keys and doesn't allow to use DIY keys for example.
comment 3y ago · link · parent
It would be fair if Apple gave a warning about US governments and courts before enabling sync to iCloud, but I guess they don't want users to know about it.
Also this is a closed source system, so we can't know whether Apple can remotely extract encryption keys or not.
Also as I understand, Apple now demands a phone number to sign up for Apple ID, so it means that now all users and their contacts are non-anonymous for Apple.
comment 3y ago · link · parent
1) They have excluded i386. It is well known that 64-bit archs waste lot of memory and 32-bit arch could probably save something
2) They should have disabled position-independent code generation because on i386 it takes more memory
3) Instead of optimizing for speed whole program it is better to optimize for speed only "hot" parts and optimize the rest for size. Or optimize everything for size.
comment 3y ago · link · parent
For comparison, in Swift normal arithmetic operations check for overflow.
[1] https://doc.rust-lang.org/src/alloc/vec/mod.rs.html#1773
comment 3y ago · link · parent
That seems weird to me. I don't have to learn package configuration language in other distributions. I thought that one could just install packages with a package manager.
> You can use nix-alien[2] which will automatically fetch the required libraries and build an FHS shell for the binary.
That's actually fine. I want to put closed source software into a chroot anyway.
comment 3y ago · link · parent
1) operating a large plant in US is much more expensive than in Taiwan and it will bring less profit. So it it not financially motivated decision.
2) US can restrict export of chips to other countries and TSMC will lose money in this case
3) US can copy the secrets, share them with Intel and AMD, and make chips without paying TSMC
So this looks like a risky and not profitable decision to me.
comment 3y ago · link · parent
In my opinion, they should better give away some outdated technology like 45 or 65nm.
This reminds me of China which forced some Western manufacturers to transfer technology to them.
comment 3y ago · link · parent
Also browsers should display a warning when a certificate issuer for a website changes.