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
Hi, I'm creating an application where files are encrypted when they're received and decrypted only when an authenticated user clicks on the file link in their own dashboard. As such, I'm trying to write to the output buffer so it's downloaded on their end but never appears decrypted on the server's storage.
To do this I do something like the following in a function body, that function is called with a POST request that fetches the $file name and id in storage. I got the writing to output lines from this pull request.
I could fix this issue by wrapping the handle into a new MutableFile, the decrypted file was then successfully sent thanks to a stream download. I'll leave it open in case though, since I don't believe the type error was intended.
Hi, I'm creating an application where files are encrypted when they're received and decrypted only when an authenticated user clicks on the file link in their own dashboard. As such, I'm trying to write to the output buffer so it's downloaded on their end but never appears decrypted on the server's storage.
To do this I do something like the following in a function body, that function is called with a POST request that fetches the
$file
name and id in storage. I got the writing to output lines from this pull request.But when I use is, I get a type error:
How can I fix this?
Sorry if this seems trivial, I'm not used to web dev at all.
This is all running inside a VM using Homestead (
"laravel/homestead": "^13.2"
) with the most recent version of Halite as well.The text was updated successfully, but these errors were encountered: