vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 5.x Products & Extensions (https://vborg.vbsupport.ru/forumdisplay.php?f=258)
-   -   Miscellaneous Hacks - Increase Cost on bcrypt passwords (https://vborg.vbsupport.ru/showthread.php?t=327195)

Wayne Luke 04-04-2019 09:00 PM

Increase Cost on bcrypt passwords
 
1 Attachment(s)
Valid for vBulletin 5.4.5 and higher.

As processors get more powerful, the time co-efficient to decode password hashes decreases. With vBulletin 5, you can increase the cost co-efficient so that the time stays the same with more powerful processors. The attached file does this for the default password hashing schema in vBulletin 5.4.5 and higher.

To install, simply upload the XML file into your /core/includes/xml folder. No other settings are needed. The next time your users log in, their passwords will be stored with the increased cost.

DamasGate 04-15-2019 04:52 AM

Thank you very much.

If removed in the In the future, Will we face any login problems?

Thanks again

delicjous 04-16-2019 05:19 AM

Thank you.

I upload it to a testforum and there was no change in user-table (token, scheme and secret), datastore 'pwschemes' or passwordhistory. Do this change any data to check if it is working?

Wayne Luke 08-06-2019 03:10 PM

After the user's next login, the cost in their password hash will change from 10 to 15. That would be the only data change in the database.

Wayne Luke 08-06-2019 03:11 PM

Quote:

Originally Posted by DamasGate (Post 2599111)
If removed in the In the future, Will we face any login problems?

Users will need to reset their passwords in order to login.

delicjous 11-05-2019 06:29 AM

Just for information.
I got an error by upgrade to the latest 5.5.6 Alpha as long as I have this file in the core/includes/xml folder (step 19).

Something like "missing error_x phrase"

After delete the pwschemes_xustom file the upgrade run until the complete screen.


All times are GMT. The time now is 04:17 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01079 seconds
  • Memory Usage 1,715KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete