by MadsRC · 5y ago · 0 comments
In Kubernetes, secrets are base64 encoded, so they are quite secure.
I’m sorry, but what the actual f&$/… I‘s expect better from RedHat. In what world does storing a secret as base64 warrant calling it “quite secure”?The only protection I can think of is:
* The occasional glance at your screen.
* Injection attack (to some degree)
As Joe notes, this was just how you most easily encode binary data in JSON. We did discuss that the encoding has a minor benefit to “over the shoulder reader” obscurity, but that wasn’t the goal.
And if it's not obvious: Red Hat wrote enough of Kubernetes to know better than to base64 anything of value.