6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/26/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#14231] Log in into Horde Groupware from another website
*
Your Email Address
*
Spam protection
Enter the letters below:
\ /.__ ..__ .___ >< [__) |[__)[__ / \[__)\__|| \|
Comment
>> Changes have been made in Git (master): >> >> commit d9defefe7c671d3b3f72e4a8e6627e168f0d5da1 >> Author: Jan Schneider <jan@horde.org> >> Date: Fri Feb 12 11:40:39 2016 +0100 >> >> Don't use local cipher caches if the key changed (Bug #14231). >> >> framework/Core/lib/Horde/Core/Secret/Cbc.php | 3 ++- >> framework/Core/package.xml | 4 ++-- >> framework/Secret/lib/Horde/Secret.php | 3 ++- >> framework/Secret/package.xml | 4 ++-- >> 4 files changed, 8 insertions(+), 6 deletions(-) >> >> http://github.com/horde/horde/commit/d9defefe7c671d3b3f72e4a8e6627e168f0d5da1 > > > Hello Jan, > > Please correct me if I am wrong. When I was developing the solution I > saw that this modification was not needed for > /Secret/lib/Horde/Secret.php because of how the index "idx" is > calculated: > > $idx = hash('md5', $key); > > The index depends on $key, so if $key has a different value than > before, $idx will have a different value, leading to > $this->_cipherCache[$idx] being empty, causing another > Horde_Crypt_Blowfish object being created with the new $key. > > In Cbc.php the index of _cipherCache[self::HORDE_KEYNAME] is a > constant, so a change in $key would not lead to the creating of a new > Horde_Crypt_Blowfish object with the new value. > > This is why this bug did not happen before the addition of the Cbc > encryption. > > Best regards, > > Lucas Barros Araújo
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers