[guardian-dev] SQLCipher: best practices

Cédric Jeanneret guardian at ethack.org
Tue Aug 5 15:08:07 EDT 2014


Hello Hans-Chistoph and Nathan,

Thanks for you answer, I'll have a look at it in order to avoid mistakes :).

Cheers,

C.



On 08/05/2014 08:55 PM, Hans-Christoph Steiner wrote:
> We have a library for managing SQLCipher and IOCipher passwords, its called
> Cacheword:
>
> https://github.com/guardianproject/cacheword
>
> It is used in Courier, InformaCam, ChatSecure and others, so you can look
> there for examples.
>
> .hc
>
> Cédric Jeanneret wrote:
>> Hello,
>>
>> I'm considering using SQLCipher in a new app, as it will store location,
>> wireless essid and timestamp.
>> I've looked at the examples[1], but it seems they are using hard-coded
>> password which, obviously, isn't that good…
>>
>> How shall I do in order to get some random password? If possible one per
>> device, generated at install time or anything like that (well, if that's
>> possible, of course ;) ).
>>
>> Thanks for your inputs.
>>
>> Cheers,
>>
>> C.
>>
>>
>> [1]
>> https://github.com/sqlcipher/android-database-sqlcipher/blob/master/src/example/SQLDemoActivity.java
>> _______________________________________________
>> Guardian-dev mailing list
>>
>> Post: Guardian-dev at lists.mayfirst.org
>> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
>>
>> To Unsubscribe
>>         Send email to:  Guardian-dev-unsubscribe at lists.mayfirst.org
>>         Or visit: https://lists.mayfirst.org/mailman/options/guardian-dev/hans%40guardianproject.info
>>
>> You are subscribed as: hans at guardianproject.info
>>



More information about the Guardian-dev mailing list