You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could either:
a) Write a wrapper script that receives the file from sd-svs, looks at magic numbers and opens it with the correct application, or
b) See if xdg-mime supports using only magic numbers (however preliminary research came back empty so far)
c) Add extensions to submissions on the SecureDrop server code
The text was updated successfully, but these errors were encountered:
While LibreOffice is installed as part of #263, LibreOffice documents do not automatically open in the disposable VMs:
We should ensure LibreOffice files open automatically once they are send to an sd-svs-disp DispVM.
Originally uncovered as part of #263 (review) , relevant parts copy pasted below for convenience:
This is because xdg-open relies on the file extension and not magic numbers (file appears to rely on a file's magic numbers)
Changing the extension does change the association:
We could either:
a) Write a wrapper script that receives the file from sd-svs, looks at magic numbers and opens it with the correct application, or
b) See if xdg-mime supports using only magic numbers (however preliminary research came back empty so far)
c) Add extensions to submissions on the SecureDrop server code
The text was updated successfully, but these errors were encountered: