When verifying the GPG signature and removing the signature using the function unsign_file from the file elbepack/egpg.py, an exception occurs. The function unsign_file is used by the ELBE command remove_sign or by the python3_elbe_updated service. At first an exception occurs because the output file does not exist when opening the file with core.Data(file=outfilename). If you create it as a dummy file with "touch " before executing the command, the exception is gone and the verification is successful. However, you don't get the contents of the original file. This behavior occurs on an arm-based target system with current Debian 12 (bookworm) and the Python3 packages included in Debian 12 (Python version 3.11).
How can we get the content of the original file from ELBE so that ELBE can use this file in the further execution e.g. in the function handle_update_file?
When verifying the GPG signature and removing the signature using the function unsign_file from the file elbepack/egpg.py, an exception occurs. The function unsign_file is used by the ELBE command remove_sign or by the python3_elbe_updated service. At first an exception occurs because the output file does not exist when opening the file with core.Data(file=outfilename). If you create it as a dummy file with "touch" before executing the command, the exception is gone and the verification is successful. However, you don't get the contents of the original file. This behavior occurs on an arm-based target system with current Debian 12 (bookworm) and the Python3 packages included in Debian 12 (Python version 3.11).
How can we get the content of the original file from ELBE so that ELBE can use this file in the further execution e.g. in the function handle_update_file?