sysPass icon indicating copy to clipboard operation
sysPass copied to clipboard

Import Accounts Problem (xml)

Open Goatmaster opened this issue 3 years ago • 0 comments

I installed the newest version of sysPass and wanted to import my accounts from the old instance with help of the import function.

But the import from the old instance (2.1.16.18061901) to the new one (3211.22070201) is not working.

Here is the output of the nginx error.log.

2022/07/12 10:46:17 [error] 930#930: *85 FastCGI sent in stderr: "Crypto->decryptInternal()
#1 /var/www/html/syspass/vendor/defuse/php-encryption/src/KeyProtectedByPassword.php(91): Defuse\Crypto\Crypto->decryptWithPassword()
#2 /var/www/html/syspass/lib/SP/Core/Crypt/Crypt.php(83): Defuse\Crypto\KeyProtectedByPassword->unlockKey()
#3 /var/www/html/syspass/lib/SP/Core/Crypt/Crypt.php(110): SP\Core\Crypt\Crypt->unlockSecuredKey()
#4 /var/www/html/syspass/lib/SP/Services/Import/ImportTrait.php(123): SP\Core\Crypt\Crypt->decrypt()
#5 /var/www/html/syspass/lib/SP/Services/Import/SyspassImport.php(392): SP\Services\Import\XmlImportBase->addAccount()
#6 /var/www/html/syspass/lib/SP/Services/Import/XmlImportBase.php(118): SP\Services\Import\SyspassImport->SP\Services\Import\{closure}()
#7 /var/www/html/syspass/lib/SP/Services/Import/SyspassImport.php(403): SP\Services\Import\XmlImportBase->getNodesData()
#8 /var/www/html/syspass/lib...PHP message: [EXCEPTION] [Integrity check failed.
#0 /var/www/html/syspass/vendor/defuse/php-encryption/src/Crypto.php(151): Defuse\Crypto\Crypto->decryptInternal()
#1 /var/www/html/syspass/vendor/defuse/php-encryption/src/KeyProtectedByPassword.php(91): Defuse\Crypto\Crypto->decryptWithPassword()
#2 /var/www/html/syspass/lib/SP/Core/Crypt/Crypt.php(83): Defuse\Crypto\KeyProtectedByPassword->unlockKey()
#3 /var/www/html/syspass/lib/SP/Core/Crypt/Crypt.php(110): SP\Core\Crypt\Crypt->unlockSecuredKey()
#4 /var/www/html/syspass/lib/SP/Services/Import/ImportTrait.php(123): SP\Core\Crypt\Crypt->decrypt()
#5 /var/www/html/syspass/lib/SP/Services/Import/SyspassImport.php(392): SP\Services\Import\XmlImportBase->addAccount()
#6 /var/www/html/syspass/lib/SP/Services/Import/XmlImportBase.php(118): SP\Services\Import\SyspassImport->SP\Services\Import\{closure}()
#7 /var/www/html/syspass/lib/SP/Services/Import/SyspassImport.php(403): SP\Services\Import\XmlImportBase->getNodesData()
#8 /var/www/html/syspass/lib...PHP message: [EXCEPTION] [Integrity check failed.

I would be nice to solve this.

Best

Goatmaster avatar Jul 12 '22 08:07 Goatmaster