[Tickets #12432] Re: Synchronisation of calendar via SyncML fails

noreply at bugs.horde.org noreply at bugs.horde.org
Sat Jun 10 03:43:09 UTC 2023


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/12432
------------------------------------------------------------------------------
  Ticket             | 12432
  Updated By         | george.ccto at gmail.com
  Summary            | Synchronisation of calendar via SyncML fails
  Queue              | Synchronization
  Version            | Git master
  Type               | Bug
  State              | Not Reproducible
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


george.ccto at gmail.com (2023-06-10 03:43) wrote:

I tried to clone the Horde from AlmaLinux 8 with manual installed PHP  
7.4 environment to AlmaLinux 9 with manual installed PHP 7.4  
environment.

Then, inside AlmaLinux 9 , I encountered the same error - "IMP is  
marked as authenticated, but no credentials can be found in the  
session."

After a day study, it seems  
$_SESSION[imp][imap_ob_pass/xxxxxxxxxxxxxxxxxxx] -> become nothing

If I manually modified the file - imp/lib/Imap/Password.php
inside "public function serialize()"
changed
from
         $session->set('imp', self::PASSWORD_KEY . '/' . $this->_id,  
$this->_password, $session::ENCRYPT);
to
         $session->set('imp', self::PASSWORD_KEY . '/' . $this->_id,  
$this->_password,  0 );

It seems working again.

(the password is stored in PHP session in plain text format.)





More information about the bugs mailing list