Issue Bug Closed

#109789Undefined array key "encryptionKey" in vendor/typo3/cms-core/Classes/Crypto/HashService.php when using bin/typo3 setup --distribution=theme_camino

Benjamin Franzke 05/07/26, 10:36 updated 08/11/26, 08:50

Description

Originally reported by @sbuerk via Slack.

Error when executing

rm -rf camino-testinstance/
mkdir camino-testinstance
cd camino-testinstance
ln -s ../typo3
ln -s ../index.php
./typo3/sysext/core/bin/typo3 setup \
  --driver=sqlite \
  --admin-username=admin \
  --admin-user-password=$(openssl rand -base64 32) \
  --distribution=theme_camino \
  --server-type=other \
  --force \
  -n
Core: Error handler (BE): PHP Warning: Undefined array key "encryptionKey"
in vendor/typo3/cms-core/Classes/Crypto/HashService.php line 43

Stacktrace:

#0 /home/ben/src/TYPO3.CMS/typo3/sysext/form/Classes/Slot/FilePersistenceSlot.php(52): TYPO3\CMS\Core\Crypto\HashService->hmac()
#1 /home/ben/src/TYPO3.CMS/typo3/sysext/form/Classes/Hooks/ImportExportHook.php(35): TYPO3\CMS\Form\Slot\FilePersistenceSlot->getContentSignature()
#2 [internal function]: TYPO3\CMS\Form\Hooks\ImportExportHook->beforeAddSysFileRecordOnImport()
#3 /home/ben/src/TYPO3.CMS/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2783): call_user_func_array()
#4 /home/ben/src/TYPO3.CMS/typo3/sysext/impexp/Classes/Import.php(1669): TYPO3\CMS\Core\Utility\GeneralUtility::callUserFunction()
#5 /home/ben/src/TYPO3.CMS/typo3/sysext/impexp/Classes/Import.php(706): TYPO3\CMS\Impexp\Import->callHook()
#6 /home/ben/src/TYPO3.CMS/typo3/sysext/impexp/Classes/Import.php(420): TYPO3\CMS\Impexp\Import->writeSysFileRecords()
#7 /home/ben/src/TYPO3.CMS/typo3/sysext/install/Classes/Service/SetupService.php(308): TYPO3\CMS\Impexp\Import->importData()
#8 /home/ben/src/TYPO3.CMS/typo3/sysext/install/Classes/Command/SetupCommand.php(265): TYPO3\CMS\Install\Service\SetupService->importDistributionData()
#9 /home/ben/src/TYPO3.CMS/vendor/symfony/console/Command/Command.php(341): TYPO3\CMS\Install\Command\SetupCommand->execute()
#10 /home/ben/src/TYPO3.CMS/vendor/symfony/console/Application.php(1117): Symfony\Component\Console\Command\Command->run()
#11 /home/ben/src/TYPO3.CMS/vendor/symfony/console/Application.php(356): Symfony\Component\Console\Application->doRunCommand()
#12 /home/ben/src/TYPO3.CMS/vendor/symfony/console/Application.php(195): Symfony\Component\Console\Application->doRun()
#13 /home/ben/src/TYPO3.CMS/typo3/sysext/core/Classes/Console/CommandApplication.php(113): Symfony\Component\Console\Application->run()
#14 /home/ben/src/TYPO3.CMS/typo3/sysext/core/bin/typo3(24): TYPO3\CMS\Core\Console\CommandApplication->run()
#15 /home/ben/src/TYPO3.CMS/typo3/sysext/core/bin/typo3(25): {closure:/home/ben/src/TYPO3.CMS/typo3/sysext/core/bin/typo3:21}()

Reviews 2

History 35

  1. Benjamin Franzke commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-05-11T07:10:11+00:00" > 05/11/26, 07:10 </span>

    Applied in changeset commit:cbedacb3044a2238290e7cb28da1a511dafdb3c1.