Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It feels like malpractice to use json in encryption


Sadly JWT and friends are "standard". In theory the representation and the data are independent and you can marshal and unmarshal correctly.

In practice, "alg:none" is a headache and everyone involved should be ashamed.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: