Skip to content

EXIF Data remover#363

Open
chunt007 wants to merge 5 commits into
SolidOS:mainfrom
chunt007:main
Open

EXIF Data remover#363
chunt007 wants to merge 5 commits into
SolidOS:mainfrom
chunt007:main

Conversation

@chunt007
Copy link
Copy Markdown
Contributor

This only works for profile picture upload in Edit Heading

More discussion is needed as far as users uploading to their pod providers.

The user should still be able to upload png or jpg. I believe only jpg, jpeg, and webp have exif data. I did tests and it looks like it removes that data from the files successfully. Note, this should not interfere with a user's interest in uploading files directly to their pod. This is only for the profile picture. I believe users should have full control over their own data. Chances are, they can use access control to hide their data which would contain the sensitive exif data. Say a photographer might want to exchange files with other photographers regarding aperture size and camera types in the EXIF data. They probably want other users who they plan to share with to see those details. If we want to add an option for users to use the exif data remover for the drive, that is possible too. But that is a technical/user feature and carries a lot of philosophy. Please give feedback.

This profile-pane suggestion came as the result of finding out sensitive data is in profile pictures across pods. GPS data, camera type, etc to be precise. This should no longer be the case. FYI, check your pods/profile picture.

This should work for right clicking a user's pod immediately after the file has been uploaded. In the "Edit Heading" preview with the thumbnail, the profile thumbnail, and the /profile/ file location. All EXIF data should be removed.

Server-side malware scanning might be something to consider in the future for Solid. Another technical feature.

chunt007 added 5 commits May 23, 2026 14:08
EXIF data remover module. 
 
No library required.
import { stripExifCanvas } from "./stripExifCanvas"; is the new module. No library.

This is where the upload file function/add event listener is.

Look at line 520

const sanitizedFile = await stripExifCanvas(file);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant