Skip to content

Commit 0dbdc9d

Browse files
committed
Improve security of plugin.
1 parent 7ac1b54 commit 0dbdc9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model/Table/QueuedJobsTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,7 @@ public function key(): string {
983983
if ($this->_key !== null) {
984984
return $this->_key;
985985
}
986-
$this->_key = bin2hex(random_bytes(32));
986+
$this->_key = bin2hex(random_bytes(20));
987987
if (!$this->_key) {
988988
throw new RuntimeException('Invalid key generated');
989989
}

0 commit comments

Comments
 (0)