SodiumException

Falscher Schlüssel für Entschlüsselung! Der Schlüssel hat sich seit dem letzten Speichern dieser Daten geändert, sodass die Daten nicht entschlüsselt werden können. Bitte konsultieren Sie unser Handbuch unter https://manual.limesurvey.org/Data_encryption#Errors.

/var/www/html/limesurvey-4.1.8/application/core/LSSodium.php(112)

100     /**
101      * 
102      * Decrypt encrypted string.
103      * @param string $sEncryptedString Encrypted string to decrypt
104      * @param bool $bReturnFalseIfError false by default. If TRUE, return false in case of error (bad decryption). Else, return given $encryptedInput value
105      * @return string Return decrypted value (string or unsezialized object) if suceeded. Return FALSE if an error occurs (bad password/salt given) or inpyt encryptedString
106      */
107     public function decrypt($sEncryptedString, $bReturnFalseIfError=false){     
108         if ($this->bLibraryExists === true){
109             if (!empty($sEncryptedString) && $sEncryptedString != 'null'){
110                 $plaintext = ParagonIE_Sodium_Compat::crypto_sign_open(base64_decode($sEncryptedString), $this->sEncryptionPublicKey);
111                 if ($plaintext === false){
112                     throw new SodiumException(sprintf(gT("Wrong decryption key! Decryption key has changed since this data were last saved, so data can't be decrypted. Please consult our manual at %s.", 'unescaped'), 'https://manual.limesurvey.org/Data_encryption#Errors'));
113                 } else {
114                     return $plaintext;
115                 }
116             }
117         } else {
118             return $sEncryptedString;
119         }
120 
121     }    
122  
123     /**
124      * 

Stack Trace

#0
+
 /var/www/html/limesurvey-4.1.8/application/models/LSActiveRecord.php(353): LSSodium->decrypt()
348         // if $value is provided, it would decrypt
349         if (!empty($value)){
350             
351             // load sodium library
352             $sodium = Yii::app()->sodium;
353             return $sodium->decrypt($value);
354         }
355     }
356 
357 
358     /**
#1
+
 /var/www/html/limesurvey-4.1.8/application/core/LimeMailer.php(131): LSActiveRecord::decryptSingle()
126         parent::__construct($exceptions);
127         /* Global configuration for ALL email of this LimeSurvey instance */
128         $emailmethod = Yii::app()->getConfig('emailmethod');
129         $emailsmtphost = Yii::app()->getConfig("emailsmtphost");
130         $emailsmtpuser = Yii::app()->getConfig("emailsmtpuser");
131         $emailsmtppassword = LSActiveRecord::decryptSingle(Yii::app()->getConfig("emailsmtppassword"));
132         $emailsmtpdebug = Yii::app()->getConfig("emailsmtpdebug");
133         $emailsmtpssl = Yii::app()->getConfig("emailsmtpssl");
134         $defaultlang = Yii::app()->getConfig("defaultlang");
135         $emailcharset = Yii::app()->getConfig("emailcharset");
136 
#2
+
 /var/www/html/limesurvey-4.1.8/application/helpers/frontend_helper.php(430): LimeMailer->__construct()
425     if ($quotaexit == false) {
426         if ($token && trim(strip_tags($thissurvey['email_confirm'])) != "" && $thissurvey['sendconfirmation'] == "Y") {
427             $sToAddress = validateEmailAddresses($token->email);
428             if ($sToAddress) {
429                 templatereplace("{SID}",$thissurvey); /* Force a replacement to fill coreReplacement like {SURVEYRESOURCESURL} for example */
430                 $mail = new \LimeMailer;
431                 $mail->setSurvey($surveyid);
432                 $mail->setToken($token->token);
433                 $mail->setTypeWithRaw('confirm',Yii::app()->getLanguage());
434                 $mail->replaceTokenAttributes = true;
435                 $mail->addUrlsPlaceholders(array('SURVEY'));
2020-03-09 13:20:36 Apache/2.4.6 (CentOS) PHP/7.3.15 Yii Framework/1.1.22-dev