Bug 40348

Summary: api/v1/two_factor_auth.t generates warnings
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Test SuiteAssignee: Jonathan Druart <jonathan.druart>
Status: Pushed to oldstable --- QA Contact: Martin Renvoize (ashimema) <martin.renvoize>
Severity: minor    
Priority: P5 - low CC: fridolin.somers, martin.renvoize
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: Trivial patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
25.11.00,25.05.02,24.11.08
Circulation function:
Bug Depends on:    
Bug Blocks: 40349, 40444, 40490    
Attachments: Bug 40348: Remove warnings from api/v1/two_factor_auth.t
Bug 40348: Remove warnings from api/v1/two_factor_auth.t

Description Jonathan Druart 2025-07-11 12:32:34 UTC
02:28:36 koha_1       | WARNING: The key derivation method "opensslv1" is deprecated. Using -pbkdf=>'pbkdf2' would be better.
02:28:36 koha_1       | Pass -nodeprecate=>1 to inhibit this message.
02:28:36 koha_1       |  at /kohadevbox/koha/Koha/Patron.pm line 3216.
Comment 1 Jonathan Druart 2025-07-11 12:33:44 UTC
Created attachment 183989 [details] [review]
Bug 40348: Remove warnings from api/v1/two_factor_auth.t

02:28:36 koha_1       | WARNING: The key derivation method "opensslv1" is deprecated. Using -pbkdf=>'pbkdf2' would be better.
02:28:36 koha_1       | Pass -nodeprecate=>1 to inhibit this message.
02:28:36 koha_1       |  at /kohadevbox/koha/Koha/Patron.pm line 3216.

We should deal with that on a separate bug report. For now we can remove
the warnings from the log/output.
Comment 2 Martin Renvoize (ashimema) 2025-07-12 10:08:20 UTC
Created attachment 184026 [details] [review]
Bug 40348: Remove warnings from api/v1/two_factor_auth.t

02:28:36 koha_1       | WARNING: The key derivation method "opensslv1" is deprecated. Using -pbkdf=>'pbkdf2' would be better.
02:28:36 koha_1       | Pass -nodeprecate=>1 to inhibit this message.
02:28:36 koha_1       |  at /kohadevbox/koha/Koha/Patron.pm line 3216.

We should deal with that on a separate bug report. For now we can remove
the warnings from the log/output.

Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Comment 3 Lucas Gass (lukeg) 2025-07-15 22:35:07 UTC
Nice work everyone!

Pushed to main for 25.11
Comment 4 Paul Derscheid 2025-07-24 08:20:48 UTC
Nice work everyone!

Pushed to 25.05.x
Comment 5 Fridolin Somers 2025-08-01 09:22:10 UTC
Pushed to 24.11.x for 24.11.08