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

GithubActions fail on OTP 24 #2

Open
martinsumner opened this issue Sep 26, 2024 · 1 comment
Open

GithubActions fail on OTP 24 #2

martinsumner opened this issue Sep 26, 2024 · 1 comment

Comments

@martinsumner
Copy link

Error report:

mochiweb_session:223: generate_check_session_cookie...*failed*
in function crypto:crypto_one_time/5 (crypto.erl, line 930)
  called as crypto_one_time(aes_128_cfb128,<<45,48,84,215,219,4,210,199,149,78,1,254,70,244,...>>,<<186,147,223,201,114,194,238,174,188,189,51,243,163,90,...>>,<<"bob">>,true)
in call from mochiweb_session:encrypt_data/2 (/home/runner/work/mochiweb/mochiweb/src/mochiweb_session.erl, line 145)
in call from mochiweb_session:generate_session_data/4 (/home/runner/work/mochiweb/mochiweb/src/mochiweb_session.erl, line 54)
in call from mochiweb_session:'-generate_check_session_cookie/1-fun-18-'/4 (/home/runner/work/mochiweb/mochiweb/src/mochiweb_session.erl, line 226)
in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71)
in call from eunit_proc:run_test/1 (eunit_proc.erl, line 531)
in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 356)
in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 514)
**error:{notsup,{"api_ng.c",284},"Cipher not supported in this libcrypto version"}
  output:<<"">>

Possibly due to: erlang/otp#6146

Should try specific OTP 24 version?

@martinsumner
Copy link
Author

Looking at the history, the fix was added in to OTP 25, but not into OTP 24 - so these tests will fail in OTP 24, even on the latest version

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