Bug 40348 - api/v1/two_factor_auth.t generates warnings
Summary: api/v1/two_factor_auth.t generates warnings
Status: Pushed to oldstable
Alias: None
Product: Koha
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low minor
Assignee: Jonathan Druart
QA Contact: Martin Renvoize (ashimema)
URL:
Keywords:
Depends on:
Blocks: 40349 40444 40490
  Show dependency treegraph
 
Reported: 2025-07-11 12:32 UTC by Jonathan Druart
Modified: 2025-08-01 09:22 UTC (History)
2 users (show)

See Also:
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:


Attachments
Bug 40348: Remove warnings from api/v1/two_factor_auth.t (1.55 KB, patch)
2025-07-11 12:33 UTC, Jonathan Druart
Details | Diff | Splinter Review
Bug 40348: Remove warnings from api/v1/two_factor_auth.t (1.62 KB, patch)
2025-07-12 10:08 UTC, Martin Renvoize (ashimema)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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