gnu-social/classes
Alexei Sorokin 7d7dbe627b [AuthCrypt] Password storage and comparison improvements
Password hashes are now stored in a TEXT attribute, not limited to 199 symbols.
That limitation makes no sense as password hashes are not the kind of
information to be indexed.

Actually replace crypt() with password_verify() for password checking, current
code left password_verify() unused.

Only update passwords when they use a different algorithm from the current
default. Previously "overwrite" meant rehashing every login.

Replace the "argon" boolean option with "algorithm" and "algorithm_options" for
better configurability.
The default remains whichever is default for PHP's password_hash.
2021-07-16 19:44:37 +01:00
..
Attention.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Avatar.php [ActivityPub][Ostatus] Fetch avatars in accordance to the new media system 2021-07-16 19:44:37 +01:00
Config.php varchar to text since there's no reason to limit the fields 2015-12-27 11:50:11 +01:00
Confirm_address.php [CORE] Do not set "confirm_address"."user_id" to 0 by default 2021-07-16 19:44:37 +01:00
Consumer.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Conversation.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
File_redirection.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
File_thumbnail.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
File_to_post.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
File.php [ActivityPub][Ostatus] Fetch avatars in accordance to the new media system 2021-07-16 19:44:37 +01:00
Foreign_link.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Foreign_service.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Foreign_subscription.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Foreign_user.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Group_alias.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Group_block.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Group_inbox.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Group_join_queue.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Group_member.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
GS_DataObject.php DB_DataObject delete function calls PEAR::isError directly, ignore E_STRICT 2015-06-06 20:01:03 +02:00
Invitation.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Local_group.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Location_namespace.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Login_token.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Managed_DataObject.php [DATABASE] Start transactions with START TRANSACTION 2021-07-16 19:44:36 +01:00
Memcached_DataObject.php [Memcached_DataObject] Check if it is possible to sort efficiently 2021-07-16 19:44:37 +01:00
Nonce.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Notice_location.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Notice_prefs.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Notice_source.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Notice_tag.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Notice.php [NOTICE] Update index for verbs in ProfileNoticeStream 2021-07-16 19:44:37 +01:00
Oauth_application_user.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Oauth_application.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Oauth_token_association.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Old_school_prefs.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Profile_block.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Profile_list.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Profile_prefs.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Profile_role.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Profile_tag_subscription.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Profile_tag.php [DATABASE] Check SQL boolean values with "IS TRUE" 2021-07-16 19:44:37 +01:00
Profile.php [Profile][User_group] Fix profile deletion violating foreign keys 2021-07-16 19:44:37 +01:00
Queue_item.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Related_group.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Remember_me.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Reply.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Safe_DataObject.php DB_DataObject recommends using ->tableName() 2015-06-06 19:35:10 +02:00
Schema_version.php [DATABASE][Schema_version] Change the hashing algorithm to SHA3-512 2021-07-16 19:44:37 +01:00
Session.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Sms_carrier.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Status_network_tag.php [CORE] Bump Database requirement to MariaDB 10.3+ 2019-08-03 17:47:23 +01:00
status_network.ini oops. really embarassing typo (that explains some weird behaviour) 2010-07-29 16:32:41 -04:00
Status_network.php [CORE] Bump Database requirement to MariaDB 10.3+ 2019-08-03 17:47:23 +01:00
Subscription_queue.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Subscription.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Token.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Unavailable_status_network.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
User_group.php [Profile][User_group] Fix profile deletion violating foreign keys 2021-07-16 19:44:37 +01:00
User_im_prefs.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
User_location_prefs.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
User_urlshortener_prefs.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
User_username.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
User.php [AuthCrypt] Password storage and comparison improvements 2021-07-16 19:44:37 +01:00