Quantum safe file upload with curl Docker Container as Client and nginx/httpd Container as Server #305
Replies: 1 comment 5 replies
-
Could you try |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys,
I tried to perform a secure file upload with the predefined docker containers from oqs. Unfortunately, it did not work. First I tried it with the nginx server. I used a normal file upload curl command together with the oqs curl container. Maybe there is the problem that the curl conatiner doesn't understand the file upload or can't execute it together with the pqc stuff. Anyway, to make this possible, I changed the configuration file of nginx. I tried many different options, but nothing worked. I don't remember all the options I tried, but I put something like this in the config file:
Then I tried it with httpd. Under httpd I tried it with a cgi script. To do this, I activated all the necessary modules in the configuration file, e.g.
LoadModule cgid_module modules/mod_cgid.so
.Then I added the following to the configuration:
I also played around with the attributes in it, added others and removed others. But nothing has worked. When I make a curl request to the script, only the content of the script is returned instead of executing it on the server.
Does anyone have any ideas or have they done something similar before? Any help would be greatly appreciated. Maybe it's easier to do it with a php. But I'm not sure if I would have to modify the dockerfile or just a server config. Let me know if you need more information. I have really tried a lot.
Thank you very much, best regards
Pascal
Beta Was this translation helpful? Give feedback.
All reactions