by nonrandomstring · 1y ago · 0 comments
I'm not sure this is true. I've studied trust models in some depth now and I think that cryptographic enclaves are at best an analgesic and sedative. Don't fall for any myth of symmetrical technology that can be used "for evil or good".
The purpose of this technology is to assert logical ownership over computation under remote physical control of another. That would serve your interests and rights iff you purchase a cloud computing resource you want to make secure in an untrustworthy data-centre.
Sadly "security" gets used as a bare noun.
One must always ask three questions:
- security for who?
- security against who or what?
- security to what end?
DRM is a generally a net loss to security of the physical machine
owner, since it is a way to hide code and functionality within the
perimeter of ownership and control. It's no worse than blobs or
treacherous silicon, but any security conscious operator should avoid
or remove it. It is opaque "security" for vendors/content-publishers,
and "security" against the owner and operator.Any use of enclaves for DRM are unethical though, and solutions such as Play Integrity API is a commingling of security guarantees and totalitarian control over the user. Instead of proving to a service provider (such as your bank) that your whole phone is running a verified software and hardware stack, it suffices to communicate with a HSM with which you verify that the transaction to be authorized (1) comes from your bank, and (2) has a description which aligns with what you expect. The HSM can be built into the phone or be an external device with a small screen, but it should never ever enforce how you use the rest of the phone, it should only solve the narrow security issue of authorizing critical transactions.
Cryptographic enclaves let you securely use passwords that are otherwise very easy to break.
For example, a random 4-digit pin can be broken in seconds, minutes at most, even with really strong PKDF functions.
With a cryptographic enclave that destroys your key after 10 unsuccessful attempts, attackers only have a 0.1% chance of breaking that PIN. This is an acceptable security level for many users.
In theory, better security than that is possible by using a complex passphrase. In practice, the passphrase ends up being "exampleDotOrgWinter25!", which is still very easy to brute force.
For many users, that random 4-digit PIN plus an enclave will end up being more secure than the long and complex password.
I think in this area it's hard to be precise amidst confusion about who does the encryption, who generates and keeps the private keys, and what power that affords them.