katzenpost / catchat

Traffic analysis resistant messaging with Qt based user interface
GNU Affero General Public License v3.0
30 stars 3 forks source link

pet avatars and pet names #1

Open david415 opened 5 years ago

david415 commented 5 years ago

the client should allow user selected avatar images and nicknames for each contact. we could have a default avatar image which is stored inside the binary and user selected avatar images could be stored in the encrypted statefile on disk and loaded upon startup.

we SHOULD NOT load avatar images from URLs. nor should we load any other resource from the network.

mixmasala commented 3 years ago

currently we have images that the user may select from their filesystem; however they are NOT yet stored in the encrypted statefile and also the feature creates a path on the filesystem that leaks the users chosen contact name.

yippyskippy commented 3 years ago

in the wip_gioui_interface branch this has been implemented by @mixmasala as of 56ab2c263b2200a9bdf92a13b5d0089e57d0ae3a

the default uses a fractal generated avatar (below) but allows users to choose from disk (top contact).

catchat-picture-fractal

currently if an image uploaded is not a square it is squished by the interface, this should be improved upon. we may want to offer galleries of images for users to select images from, but that can come later.

@david415 is current implementation good enough to close issue?