Closed (duplicate)
Project:
Token
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
31 Jul 2019 at 13:41 UTC
Updated:
11 Jan 2020 at 15:23 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
idebr commentedComment #3
idebr commentedAttached patch replaces the current call to
\Drupal\Component\Utility\Crypt::randomBytes()with the suggested methodrandom_bytes().Comment #4
idebr commentedFixed empty patch file.
Comment #5
idebr commentedPostponed until 8.8.x is the minimum supported version.
Comment #6
krzysztof domańskiDeprecate \Drupal\Component\Utility\Crypt::randomBytes() in favour of PHP's builtin random_bytes() (3054311)
The
random_bytesis a php function since PHP 7.0. However, drupal 8.7 still supports PHP 5.6.Comment #7
kristen polPer a Slack discussion with Gábor Hojtsy regarding usage of D9 tags (Drupal 9, Drupal 9 compatibility, Drupal 9 readiness, etc.), "Drupal 9 compatibility" should be used for contributed projects that need updating and "Drupal 9" was the old tag for D8 issues before the D9 branch was ready. Doing tag cleanup here based on that discussion.
Comment #8
berdirThanks, I'll include this in #3042568: Drupal 9 Deprecated Code Report for Token