-
Notifications
You must be signed in to change notification settings - Fork 44
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
Error with EVP_sha1 / OpenSSL #19
Comments
Hi, what OpenSSL version do you have installed ? It's either a missing header file or a dynamic |
Hi @ddragosd
|
Do you have a file named evp.h on the system ? Also, how are you building Openresty ? |
yes, /usr/include/openssl/evp.h I rebuilded openresty now from source, but same problem |
Thanks, can you check if that evp.h file has the EVP_sha1 method defined ?
(I'm trying to help you from my phone only as I'm on the go today so I may
ask more q). If yes, mind pasting the signature if the method here ?
…On Fri, May 26, 2017 at 4:42 PM Henrique Chehad ***@***.***> wrote:
yes,
/usr/include/openssl/evp.h
I rebuilded openresty now from source, but same problem
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#19 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAhE7SIrV9E4xLEIPfu_W8KJ2_Em4-0jks5r9zkdgaJpZM4NoBwu>
.
|
in file exists this content with EVP_sha1:
Is missing something? |
I tested in ubuntu and debian docker containers, same issue in both |
The signature is correct and is the same as the one used here :
https://github.com/adobe-apiplatform/api-gateway-hmac/blob/master/src/lua/api-gateway/resty/hmac.lua
So right now it seems to be a dynamic linking issue in the OS with OpenSSL.
…On Fri, May 26, 2017 at 4:51 PM Henrique Chehad ***@***.***> wrote:
I tested in ubuntu and debian docker containers, same issue in both
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#19 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAhE7WwoPPWaS3rFjZHCw3euwhHm2DF8ks5r9ztdgaJpZM4NoBwu>
.
|
Is there a sample you can share with me ? I'd be happy to take a look over the weekend or early next week. It shouldn't be something too complicated. Another option, in the meanwhile, is to try with this docker image : https://hub.docker.com/r/adobeapiplatform/apigateway/ , built from https://github.com/adobe-apiplatform/apigateway . |
@ddragosd thanks for helping. the issue was because i was trying to test with busted, but i realized now, the project runs only inside nginx |
@ddragosd is there some reason for this project is tied in nginx? is not viable to create an independent version? |
@enriquechehad no special reason other than being impl initially to work with NGINX / Openresty. Are you saying you'd like to use this module w/o NGINX ? |
@ddragosd yes, api-gateway-aws is the most complete Lua project for AWS that I found. Would be good to have the possibility to use the project without NGINX. |
@henriquechehad, on a second thought it doesn't seem to be that straight forward to decouple it from NGINX as this module depends on multiple openresty features. At the same time I have to admit you made me curious if there are cases when such a lua module would be useful, comparing with the other aws sdks. |
I'm trying to use the project but it's returning the error below:
In my code i'm just importing, using:
I have the openssl, libcrypto, libssl-dev packages installed
The text was updated successfully, but these errors were encountered: