Skip to content

#5876 Switched file decryption priority to be original file extension #5988

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MarlowBrown
Copy link
Contributor

Contributor checklist

  • My commits are rebased on the latest main branch
  • My commits are in nice logical chunks
  • My contribution is fully baked and is ready to be merged as is
  • I have tested my contribution on these devices:
  • iPhone 16, iOS 18.2

Description

This PR fixes #5876 by changing the file decryption priority to be the files original extension instead of the detected files mime type.

However I do see some value in decrypting the file as its mime type to see the raw file; I think losing the ability to send the file to the respective application its used for comes second to that. Perhaps in the future the UI/UX will be redesigned to accommodate path viewing the raw file and being able to use the original files extension.

FPLSignal.mov

… type or its file extension.

(cherry picked from commit d48965b1d327210771873ac44999edcb6e0ef69c)
@tomduese
Copy link

Thank you very much for looking into this @MarlowBrown
What is the timeframe of having this merged and on production?

@MarlowBrown
Copy link
Contributor Author

Hey @tomduese. Since I'm just a contributor to this repository it will be when one of the signal devs takes a look at it to merge it into the codebase. Depending on how busy their day is I can't give you a concrete timeline. All that I hope for is within a month.

@sashaweiss-signal
Copy link
Contributor

Hey @MarlowBrown. This is a deceptively simple change, and before we take it I'll need to do a thorough evaluation of what the upstream effects would be. This method is very explicit in its preference order, so while it may be safe to change this I'd want to be sure it won't inadvertently break other things.

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.

3 participants