As a user I want to automatically generate a public/private key pair when I don't have a pair yet so that I can exchange my public key with others and be sure that I have a private key which can decrypt a message which is encrypted with the public key.
What
This will connect some parts that we already have, the key pair generation and database, to generate a key pair when using the app for the first time.
Why
Now we have the generation of the key pair and the profile part of the database part and don't do anything with it yet.
How
The LoginActivity should tell the database to initialize, and to create a public/private key pair when there is no key pair yet.
Definition of done
When a public/private key pair will be generated and saved in the database at the first start of the app.
Parent issues: #28
Relevant issues: #64
Estimated effort: 3 (estimated by Cornel)
User story
As a user I want to automatically generate a public/private key pair when I don't have a pair yet so that I can exchange my public key with others and be sure that I have a private key which can decrypt a message which is encrypted with the public key.
What
This will connect some parts that we already have, the key pair generation and database, to generate a key pair when using the app for the first time.
Why
Now we have the generation of the key pair and the profile part of the database part and don't do anything with it yet.
How
The LoginActivity should tell the database to initialize, and to create a public/private key pair when there is no key pair yet.
Definition of done
When a public/private key pair will be generated and saved in the database at the first start of the app.
Notes
-