Hacker Timesnew | past | comments | ask | show | jobs | submitlogin
Show HN: I built an open source tool to obfuscate app secrets in iOS (github.com/rogerluan)
3 points by rogerluan on Nov 7, 2023 | hide | past | favorite
Arkana uses code generation to provide your app with its secrets. Secrets are fetched from env vars during Arkana runtime (not your app's runtime), their values are encoded using a salt that is generated on each run, and source code is generated using the provided keys, and the generated encoded values.

During your app's runtime, the encoded value is decoded so your app can use their raw values (the values that were originally stored in your env vars).

This encoding mechanism makes it difficult for attackers to simply just read your secrets in plain text from your app's binary (for instance by using unix strings, or other tools like dumpdecrypted).

I'd appreciate any feedback you might have, be it architectural, devX, etc. It's open source and free to use :)



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

Search: