Bitcoin Forum

Bitcoin => BitcoinJ => Topic started by: jonas.schnelli on October 22, 2013, 02:46:29 PM



Title: manage private keys in iOS app
Post by: jonas.schnelli on October 22, 2013, 02:46:29 PM
I'd like to slowly slip into the iOS app store with a bitcoin app.
First thing could be a iOS Bitcoin Keychain.

My idea is to have a iOS App ready, where your private keys are generated and stored.
The public key can be "transported" to your Desktop-App with QR-Codes (or bluetooth, or bonjour TCP/IP, etc.).

The desktop app should then transmit unsigned transaction to the iOS app (QR, bluetooth, bonjour TCP/IP) where the tx get signed with the private key.
The signed tx should then be broadcastet over the Desktop-App (somehow sent back to the desktop app).

Of course it need some thought about how the user could backup his private key in case he lost his phone.
Maybe the private keys get's AES256 with a initial creates AES key (ensure strength) which the user needs to write down or print out directly over airprint (no e-mail option!).
The encrypted private keys could be stored on iCloud or other services (Dropbox/Google-Drive).

Would that be possible with bitcoinj?
Any feedback to this approach? Stupid? Or would it help having encrypted/secured wallets?

Thanks
--
Jonas


Title: Re: manage private keys in iOS app
Post by: Mike Hearn on October 22, 2013, 04:28:12 PM
Bluntly, I think iOS is a non starter and you should forget about it. Apple's legal team have decided that they don't want an app that can send money without a third party on their devices. Anything that seems to fall in that general area will get banned.

Just get an Android device already ;)