[Aerogear-users] Aerogear EncryptedSQLStore passphrase update

Daniel Passos dpassos at redhat.com
Tue Dec 20 07:24:20 EST 2016


For security there is no easy way to do that. What you need to do is:

1) Decrypt all data
2) Save it somewhere (in memory for example)
3) Remove all encrypted data from the database
4) Encrypt the data again with the new passphrase


On Tue, Dec 20, 2016 at 10:15 AM, Simon Rolin <simonrolin at gmail.com> wrote:

> Hi Daniel,
>
> Thanks for the answer. I already read that… What I would like is to be
> able to update the passphrase.
>
> So user choose a password, use the app, after a week, user want to update
> the passphrase, what does I have to do from a dev point of view ?
>
> Thanks a lot !
>
> Simon
>
> On mar. 20 déc. 2016 at 13:11 Daniel Passos <Daniel Passos
> <Daniel+Passos+%3Cdpassos at redhat.com%3E>> wrote:
>
>> Hi Simon,
>>
>> Not sure if I got you question, anyway, there is a little explanation in
>> the README[1] and here is the code[2]
>>
>> [1] https://github.com/aerogear/aerogear-android-cookbook/
>> tree/master/PasswordManager#how-does-it-work
>> [2] https://github.com/aerogear/aerogear-android-cookbook/
>> blob/master/PasswordManager/app/src/main/java/org/jboss/
>> aerogear/android/cookbook/passwordmanager/PasswordManagerApplication.
>> java#L41-L48
>>
>> _______________________________________________
>> Aerogear-users mailing list
>> Aerogear-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/aerogear-users
>>
>> On Tue, Dec 20, 2016 at 10:00 AM, Simon Rolin <simonrolin at gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>> I'm playing with Aerogear PasswordManager (https://github.com/aerogear/a
>>> erogear-android-cookbook) but I can't find out how to update passphrase
>>> ?
>>>
>>> Thanks a lot in advance !
>>>
>>> _______________________________________________
>>> Aerogear-users mailing list
>>> Aerogear-users at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/aerogear-users
>>>
>>>
>>
>>
>> --
>> -- Passos
>>
>
>
> _______________________________________________
> Aerogear-users mailing list
> Aerogear-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-users
>
>


-- 
-- Passos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20161220/5e1d0620/attachment.html 


More information about the Aerogear-users mailing list