ericcornelissen / NervousFish

An app for your :iphone: to exchange public-keys in a secure manner.
GNU Lesser General Public License v3.0
2 stars 4 forks source link

Generate public/private key pair #79

Closed clenrock closed 7 years ago

clenrock commented 7 years ago

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

-