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

Expand the database with more keys for a contact #74

Closed clenrock closed 7 years ago

clenrock commented 7 years ago

User story

As a user I want to be able to save more than 1 public key per contact so that if the other person has more than 1 key I can save all of them

What

An expanded database which has an array of public keys instead of only 1.

Why

A lot of people have more than 1 public keys to send them different kinds of data encrypted, so it would be easy to have them all under 1 contact in our app.

How

In our JSON database there is a field in the contact with the public key, this should be changed to an array of public keys. For this a couple of methods in the GSONDatabaseAdapter should be changed.

Definition of done

When it is possible to save more than 1 public key per contact.