Hello, Community.
I have a problem with making HTTPS requests.
I want to use sites API, they strictly want secure connection.
I tried to insert luasocket in Love2D but it's was unsuccessful.
Did someone try set up HTTPS SSL connection in Love2D? I'm using it only for one PC. OpenSSL installed.
Thanks.
SSL, HTTPS in Love2D
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Citizen
- Posts: 86
- Joined: Mon Jul 17, 2017 2:07 pm
Re: SSL, HTTPS in Love2D
haven't done this myself but perhaps:
https://stackoverflow.com/questions/828 ... est-in-lua
=>
https://github.com/brunoos/luasec/wiki
?
https://stackoverflow.com/questions/828 ... est-in-lua
=>
https://github.com/brunoos/luasec/wiki
?
Re: SSL, HTTPS in Love2D
I can't understand what I need to do with luasec, there's no dll or lua libraries to workDarkShroom wrote: ↑Mon Jun 18, 2018 9:30 pm haven't done this myself but perhaps:
https://stackoverflow.com/questions/828 ... est-in-lua
=>
https://github.com/brunoos/luasec/wiki
?
-
- Citizen
- Posts: 86
- Joined: Mon Jul 17, 2017 2:07 pm
Re: SSL, HTTPS in Love2D
sorry the link was wrong (it was the wiki):
https://github.com/brunoos/luasec
unfortunately i don't have the time to implement this yet (or possibly even the capability, it needs OpenSSL, this might limit it's cross platform capability), you may need to keep asking or try the above repository
https://github.com/brunoos/luasec
unfortunately i don't have the time to implement this yet (or possibly even the capability, it needs OpenSSL, this might limit it's cross platform capability), you may need to keep asking or try the above repository
Re: SSL, HTTPS in Love2D
I wrote before, that I don't have limits with software. I will use it only for my PC, not like game. OpenSSL is installed.DarkShroom wrote: ↑Tue Jun 19, 2018 11:37 am sorry the link was wrong (it was the wiki):
https://github.com/brunoos/luasec
unfortunately i don't have the time to implement this yet (or possibly even the capability, it needs OpenSSL, this might limit it's cross platform capability), you may need to keep asking or try the above repository
I don't know how to correctly install luasec.
Re: SSL, HTTPS in Love2D
Googling for luasec binaries gives a thread in this forum. viewtopic.php?t=76728
Re: SSL, HTTPS in Love2D
They're too old.pgimeno wrote: ↑Tue Jun 19, 2018 8:10 pm Googling for luasec binaries gives a thread in this forum. viewtopic.php?t=76728
Code: Select all
Error: error loading module 'ssl' from file '.\ssl.dll':
The specified procedure could not be found.
stack traceback:
[C]: at 0x7ffa0d175b40
[C]: in function 'require'
main.lua:2: in main chunk
[C]: in function 'require'
[string "boot.lua"]:429: in function <[string "boot.lua"]:275>
[C]: in function 'xpcall'
-
- Citizen
- Posts: 86
- Joined: Mon Jul 17, 2017 2:07 pm
Re: SSL, HTTPS in Love2D
sorry like i say, i don't have time to implement this, or any use for it (it's not going to be cross platform, i don't care about code that just works on windows, it's a wrapper, i have mac that's deprecating OpenSSL).... bump for forum, however i've not actually seen anyone tackle this issue yet, you might be the first... i just linked you to the route i'd take... sometimes we have to be the first, that's how open source worksSpar wrote: ↑Tue Jun 19, 2018 6:30 pmI wrote before, that I don't have limits with software. I will use it only for my PC, not like game. OpenSSL is installed.DarkShroom wrote: ↑Tue Jun 19, 2018 11:37 am sorry the link was wrong (it was the wiki):
https://github.com/brunoos/luasec
unfortunately i don't have the time to implement this yet (or possibly even the capability, it needs OpenSSL, this might limit it's cross platform capability), you may need to keep asking or try the above repository
I don't know how to correctly install luasec.
good luck though when some OS changes and it's not supported
i would actually try and see if you can get any possibility of any support for this in Love 2D itself... this is because really encryption should be complied, there's just no point bothering if not imo
I'd totally be behind you in asking if anyone is wanting to implement any stuff like this in the c++
SUMMARY: so this is no easy s**t
-
- Citizen
- Posts: 86
- Joined: Mon Jul 17, 2017 2:07 pm
Re: SSL, HTTPS in Love2D
i'd like to ask an open question (to an expert)
so i'd like something like this maybe later to.... does anyone have any eperience or understanding if raw lua jit would be fast enough for this???
(if we think it might be, but this is damn weird, you might have an option, albeit, possibly a slow one)
so i'd like something like this maybe later to.... does anyone have any eperience or understanding if raw lua jit would be fast enough for this???
(if we think it might be, but this is damn weird, you might have an option, albeit, possibly a slow one)
Re: SSL, HTTPS in Love2D
LMGTFY:Spar wrote: ↑Tue Jun 19, 2018 10:24 pmThey're too old.pgimeno wrote: ↑Tue Jun 19, 2018 8:10 pm Googling for luasec binaries gives a thread in this forum. viewtopic.php?t=76728
https://github.com/pkulchenko/ZeroBrane ... /bin/clibs
Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests