empowerchain / deposit-app

Apache License 2.0
0 stars 1 forks source link

Add name and email field to account page #39

Open inesempower opened 2 years ago

inesempower commented 2 years ago

Depends on:

To share personal information with an organization, we need to give the user a safe way to do so. The solution outlined here should allow the information to be shared only with the organization the user wants to share it with. This is done by encrypting the personal information with the organization's public key so that the only entity that can decrypt the data is the holder of the private key (i.e. the organization).

Encryption is to be done with RSA asymmetric keys. Support for this already exists on the backend (an organization will always have a public encryption key). The app only needs to encrypt the personal information and send it to backend on the new API (see 'Depends on').

Designs: image image image image

gfant commented 2 years ago

Instead of using the button SHARE in the second and third image, wouldn't be better to set an icon like this one?:

image
gjermundgaraba commented 2 years ago

Well, sort of. It's not a normal phone "share" that you do with most apps and this icon is not helping with that. Let's just keep the "share" text for now.

gfant commented 2 years ago

Here in the last view we have two "SHARE" buttons. Which one do we need? @inesempower @bjaanes

image
gjermundgaraba commented 2 years ago

@iam-agf The share button in the header can be removed