mirror of
https://github.com/evgeny-gridasov/openvpn-otp.git
synced 2026-04-25 21:35:54 +03:00
[GH-ISSUE #29] openssl-1.1.0 not supported #17
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/openvpn-otp#17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chipitsine on GitHub (Feb 13, 2018).
Original GitHub issue: https://github.com/evgeny-gridasov/openvpn-otp/issues/29
HMAC_CTX_init() was replaced with HMAC_CTX_reset() in OpenSSL versions 1.1.0.
@ciaccotaco commented on GitHub (Oct 31, 2018):
I am also experiencing this problem. When executing:
./configure --prefix=/usr --with-openvpn-plugin-dir=/usr/lib/openvpnIt returns the error:
checking for HMAC_CTX_init in -lcrypto... noconfigure: error: OpenSSL libraries requiredI think the issue is the dependency on autoreconf, which has issues with OpenSSL 1.1.0
@RamonBeast commented on GitHub (Nov 27, 2018):
How did you manage to solve it? I'm having the same issue on Ubuntu 18
@evgeny-gridasov commented on GitHub (Nov 27, 2018):
I have a working solution, will commit soon.
@evgeny-gridasov commented on GitHub (Nov 27, 2018):
Basically OpenSSL 1.1.0 completely redefined the API. Will have to have 2 blocks of code to deal with pre 1.1.0 and 1.1.0 API.
@evgeny-gridasov commented on GitHub (Nov 27, 2018):
I've pushed the changes, could please somebody code review / test build on 14.04 and 18.04? Works fine for me but It would be great if somebody else could reproduce that.
@ciaccotaco commented on GitHub (Nov 27, 2018):
I have tested successfully. Thank you so much!
Software:
Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-1031-azure x86_64)
OpenVPN 2.4.4-2ubuntu1.1
LDAP Plugin: https://github.com/guywyers/openvpn-auth-ldap/blob/master/auth-ldap.conf
Google Authenticator: https://github.com/google/google-authenticator-libpam/
@evgeny-gridasov commented on GitHub (Nov 28, 2018):
Thanks @ciacco206 I'll wait for a couple of weeks for more feedback and will close this issue then.
@evgeny-gridasov commented on GitHub (Nov 28, 2018):
@chipitsine could you please test?
@RamonBeast commented on GitHub (Nov 28, 2018):
Thanks @evgeny-gridasov just tested and seems to work for me too!
Ubuntu 18.04.1 LTS
@ciaccotaco commented on GitHub (Nov 29, 2018):
Not sure if you will consider this within the scope of your project, but I thought I'd mention it just in case. I tried installing this on my Raspberry Pi. The code compiles without issue, but when OpenVPN starts up, it fails with this error:
OS Image: Raspbian Stretch Lite 2018-10-09
OpenSSL: 1.1.0f-3+deb9u2
OpenVPN: 2.4.0-6+deb9u2
EDIT: Disregard - I spoke before exhausting all the troubleshooting options. :)
After I typed up the versioning above, I decided to check out what was available outside the repositories. I manually compiled the latest version of OpenVPN (v2.4.6) and it successfully works with your plugin.
@evgeny-gridasov commented on GitHub (Nov 29, 2018):
@ciacco206 Happy that it worked for you. I'll add a check for EVP functions in configure script to fail early.
@evgeny-gridasov commented on GitHub (Jan 24, 2019):
Looks like no complaints and everybody is happy. Closing the issue.