Skip to content

Error decrypting data (Ciphertext has invalid hex encoding) #9

Description

@kolsan

Hello!!

When i try to see what it is inside my syspass backup, i find that it is not working.
Please some could help me?

this is the behaviour:

admin@srv:~$ ./syspass-decrypter.phar spd:search-account --xmlpath ./syspass.xml

XML password:

xxxxxx

Master password:

xxxxxxxxxxxxxxx

[info] initialize
[info] Reading XML file "./syspass.xml"
[info] checkFile
[info] readXMLFile
[info] Encrypted XML detected
[info] Processing encrypted data
[error] Ciphertext has invalid hex encoding.
[error] #0 phar:///home/syspass-decrypter.phar/lib/SPDecrypter/Services/XmlReader/XmlParser.php(100): SPDecrypter\Services\XmlReader\XmlParser->processEncrypted()
#1 phar:///home/syspass-decrypter.phar/lib/SPDecrypter/Commands/SearchAccountCommand.php(119): SPDecrypter\Services\XmlReader\XmlParser->initialize()
#2 phar:///home/syspass-decrypter.phar/vendor/symfony/console/Command/Command.php(255): SPDecrypter\Commands\SearchAccountCommand->execute()
#3 phar:///home/syspass-decrypter.phar/vendor/symfony/console/Application.php(921): Symfony\Component\Console\Command\Command->run()
#4 phar:///home/syspass-decrypter.phar/vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand()
#5 phar:///home/syspass-decrypter.phar/vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun()
#6 phar:///home/syspass-decrypter.phar/lib/SPDecrypter/bootstrap.php(48): Symfony\Component\Console\Application->run()
#7 phar:///home/syspass-decrypter.phar/cli.php(27): require('phar:///home/ad...')
#8 /home/syspass-decrypter.phar(14): require('phar:///home/ad...')
#9 {main}
[error] Error decrypting XML data

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions