Skip to content
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

Can't locate Crypt/OpenSSL/RSA.pm in @INC #11

Open
eserte opened this issue May 11, 2022 · 1 comment
Open

Can't locate Crypt/OpenSSL/RSA.pm in @INC #11

eserte opened this issue May 11, 2022 · 1 comment

Comments

@eserte
Copy link

eserte commented May 11, 2022

t/basic.t fails if Crypt::OpenSSL::RSA is not installed, so probably this dependency should be declared or so:

Can't locate Crypt/OpenSSL/RSA.pm in @INC (you may need to install the Crypt::OpenSSL::RSA module) (@INC contains: /home/cpansand/.cpan/build/2022051020/Mojo-JWT-0.09-0/blib/arch /home/cpansand/.cpan/build/2022051020/Mojo-JWT-0.09-0/blib/lib ...  .) at /home/cpansand/.cpan/build/2022051020/Mojo-JWT-0.09-0/blib/lib/Mojo/JWT.pm line 105.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 2 just after 13.
t/basic.t .. 
Dubious, test returned 2 (wstat 512, 0x200)
All 13 subtests passed 
	(less 2 skipped subtests: 11 okay)

Please note also that Crypt::OpenSSL::RSA currently does not build on systems with newer openssl, for example ubuntu 22.04. See
toddr/Crypt-OpenSSL-RSA#31 and toddr/Crypt-OpenSSL-RSA#33

@eserte
Copy link
Author

eserte commented May 11, 2022

Looking into the issue deeper it does not seem to be a dependency problem, rather some of the skips (the jwk(s) related ones?) currently only check for the availability of Crypt::OpenSSL::Bignum, but should also check for Crypt::OpenSSL::RSA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant