-
Notifications
You must be signed in to change notification settings - Fork 302
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
Configurable size for file uploading #1172
Comments
Additional information : yopass/cmd/yopass-server/main.go Line 26 in b439055
Memcached max limit is 1 Mo, Redis has a 512 Mo limit. |
The limit is also in the crypto, async crypto simply cannot encrypt big messages/files. For that you need a hybrid approach. |
Actually you can adjust the memcached limit like this:
If you change the I don't know the exact limit for the crypto stuff though. But having a configurable maxSize for file sizes would be absolutely possible, because I tried it in this PR: #1154 That needs a rework though with validating the size on the server and returning an error to the client. |
@okolya If you want something that works rn you can check out a similar project I made, can configure the size there. |
@jhaals are there any plans to support larger file uploads in the near future? |
yopass/website/src/createSecret/Upload.tsx
Line 20 in 7fd2b38
It would be nice to use env variable such as MAX_FILE_UPLOAD to configure maximum file size.
The text was updated successfully, but these errors were encountered: