3 ms·
> Why in this day an age is encryption not a default for the _payload_? Why would it be? Why not encrypt the disk and use SSL? Doing encryption right can be e
by paulddraper 8y ago
> Why in this day an age is encryption not a default for the _payload_?
Why would it be? Why not encrypt the disk and use SSL?
Doing encryption right can be enormously difficult; why not use the transport/storage technologies that are ubiquitous?
- Kalium 8y agoYou're right. Doing encryption correctly can be incredibly difficult and complex. Enough so that people might miss important subtleties of the technologies at hand. For instance, you may want the encryption of data-in-transit to be removed by the application, rather than by whatever is responsible for TLS termination. You may not want your load balancer to be capable of reading the most sensitive data of your request.
- paulddraper 8y agoIDK what the details are there, but if you trust your TLS termination point with most data, it seems like you'd trust it with the JWT payload too.
- Kalium 8y agoI understand why a person might opt to think in that way! It's an obvious approach when people fully trust every part of their systems. It's perhaps possible some might differ, especially in a context where limiting trust and misuse-resistance are concerns. Giving people the choice of encrypting or signing or both could seen by some as potentially less than maximally misuse-resistant.