Bitcoin Forum

Bitcoin => Bitcoin Wallet for Android => Topic started by: kenshirothefist on September 17, 2016, 10:39:05 AM



Title: where exactly are files stored on an Android device?
Post by: kenshirothefist on September 17, 2016, 10:39:05 AM
Hi,

First of all, I don't have any issues like lost coins, etc, I'm just looking for some detailed information:

1. Where exactly are private keys and other application files stored (Android 4.3)? There is no /data/data/de.schildbach.wallet/ folder on the device (looked for ../data in device storage and sd card).

2. When this app is uninstalled from a device, does it make complete cleanup, deletes all private keys, etc?

Thanks for answers.


Title: Re: where exactly are files stored on an Android device?
Post by: sugarfly on October 15, 2016, 02:20:20 AM
1. Where exactly are private keys and other application files stored (Android 4.3)? There is no /data/data/de.schildbach.wallet/ folder on the device (looked for ../data in device storage and sd card).

2. When this app is uninstalled from a device, does it make complete cleanup, deletes all private keys, etc?

1. So far, on each device the wallet was stored at /data/data/de.schildbach.wallet/files/wallet-protobuf. The location of the app-private directory is up to your specific version of Android.
2. Yes.

If I may ask, would it be possible to modify the code to store the wallet on an USB Stick (OTG)?

Or do you see any problems with that?

-sf-


Title: Re: where exactly are files stored on an Android device?
Post by: btchris on October 17, 2016, 05:11:28 PM
If I may ask, would it be possible to modify the code to store the wallet on an USB Stick (OTG)?

Or do you see any problems with that?

-sf-

Someone correct me if I'm wrong, but the Android security model doesn't (I believe) extend to files saved on a USB OTG stick. That means that any app could access the wallet-protobuf file.

Although Bitcoin Wallet for Android uses good key stretching for the PIN, it's still short enough to be fairly easy to brute-force by your average PC once stolen by a malicious app. So, not a good idea....


Title: Re: where exactly are files stored on an Android device?
Post by: sugarfly on October 22, 2016, 06:05:28 PM
If I may ask, would it be possible to modify the code to store the wallet on an USB Stick (OTG)?

Or do you see any problems with that?

-sf-

Someone correct me if I'm wrong, but the Android security model doesn't (I believe) extend to files saved on a USB OTG stick. That means that any app could access the wallet-protobuf file.

Although Bitcoin Wallet for Android uses good key stretching for the PIN, it's still short enough to be fairly easy to brute-force by your average PC once stolen by a malicious app. So, not a good idea....

I see how that could be a problem, yes.

-sf-