~/phranck :anarchoheart1: on Nostr: Simple (dumb?) but very important question to all #Swift, #SwiftUI, #ObjC developers ...
Simple (dumb?) but very important question to all #Swift, #SwiftUI, #ObjC developers using #Xcode:
How do you secure your API keys?
It's clear that they don't belong hardcoded in the app. But how do you secure your keys?
Whether hardcoded or via `Config.plist` with a hex editor, they can be extracted from a binary. So what is the "right" way?
Please boost, thank you. 🙏🏼
Published at
2024-01-26 12:15:27Event JSON
{
"id": "8ebe04a605c599559a34fe79641a59d0af106fd59e909e155ee4f71b9ac0e120",
"pubkey": "b71bdefe5e02d06761f026466c45db9dc4c6bf55499c1bd7388d5e92cb47c514",
"created_at": 1706271327,
"kind": 1,
"tags": [
[
"t",
"swift"
],
[
"t",
"swiftui"
],
[
"t",
"objc"
],
[
"t",
"xcode"
],
[
"emoji",
"BoostOK",
"https://assets.chaos.social/custom_emojis/images/000/299/341/original/0e9f801df9f74cbe.png"
],
[
"proxy",
"https://chaos.social/users/phranck/statuses/111822197704122325",
"activitypub"
]
],
"content": "Simple (dumb?) but very important question to all #Swift, #SwiftUI, #ObjC developers using #Xcode:\n\nHow do you secure your API keys?\nIt's clear that they don't belong hardcoded in the app. But how do you secure your keys?\n\nWhether hardcoded or via `Config.plist` with a hex editor, they can be extracted from a binary. So what is the \"right\" way?\n\nPlease boost, thank you. 🙏🏼\n:BoostOK:",
"sig": "c2d95568edcdd8284f7ba3adf6cf1b85b961ea9c9546967d710c812cdaefe22d9fd80ab6b89ffc85e89fcfcce6db47df897df4570d2e6b0225cce9f76a5566f4"
}