-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Private Profile Photos #2151
Private Profile Photos #2151
Conversation
Pull Request Checklist
|
Jenkins BuildsClick to see older builds (178)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, the only question I have, what happens to old client if they receive an encrypted image?
If they drop it/don't display it, it's all fine, if they show some garbled picture then we might want to use a separate field for the encrypted image in protobuf.
Excellent point. So the image payload is passed by the Although that would trigger for any image payload that is encrypted on the I've also realised that a single image parsing error would cause all of the attached images to be rejected, I've added a Also I've realised that a single |
bb9f1c2
to
319dfce
Compare
319dfce
to
a3c27f2
Compare
f0ba3c2
to
2422883
Compare
Awaiting a successful manual test of status-im/status-mobile#11768 before merge of this PR |
0b8c8e8
to
3e249cd
Compare
3e249cd
to
45316ef
Compare
99dff9c
to
28b6b93
Compare
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
28b6b93
to
e67a6da
Compare
195db56
to
88826d8
Compare
c69c265
to
0bf68dd
Compare
43c3657
to
f07b89c
Compare
2244c91
to
ed4b5ab
Compare
ed4b5ab
to
0f78952
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, just some extra logs
47e8f4b
to
e1bf444
Compare
325ced0
to
181e494
Compare
Added Encrypted field to the protobuf
Have resolved the settings table not found but now the column is not migrating for some reason
d25b281
to
a73aaab
Compare
What has changed?
Settings
I've added a new setting
profilePicturesShowTo
which has three options for whom should see the user's profile picture:ProfilePicturesShowToContactsOnly
- shows only to the user's contacts defaultProfilePicturesShowToEveryone
- shows their profile image to everyoneProfilePicturesShowToNone
- shows their profile image to no-one, even if an image is set.I've also added functionality that does the following:
On Sending
profilePicturesShowTo
is set toProfilePicturesShowToContactsOnly
IdentityImage
protobufOn Receiving
ChatIdentity
that is received attempt to decrypt any attachedIdentityImages
Why make the change?
In line with offering a privacy first product images and the concerns raised in status-im/status#56 this change was introduced to ensure a user could use profile images without sharing their image with everyone they interacted with on Status if they so choose not to.