You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If PX4_CRYPTO is defined and the param SDLOG_ALGORITHM is set 0 (Disabled), the logging does not start due to file not found error. If crypto algorithm is not given the symmetric key is not created and not stored into the beginning of the log file, so the file is not found when log data is tried to be appended after the key data.
To Reproduce
Build px4_fmu-v5_cryptotest image and flash it
Boot up the device
Set param SDLOG_ALGORITHM -> 0
Reboot the device
command: logger on
Expected behavior
Logging is started without encryption. Afters logging is stopped the log file will containsplain text ulog data.
Screenshot / Media
No response
Flight Log
No response
Software Version
PX4-Autopilot main branch. Bug noticed with commit b765769 (Note! This commit did not break the logging, but it is just one commit with which the bug was detected. The breaking change is this one: 2da944a)
Flight controller
px4_fmu-v5
Vehicle type
None
How are the different components wired up (including port information)
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
If PX4_CRYPTO is defined and the param SDLOG_ALGORITHM is set 0 (Disabled), the logging does not start due to file not found error. If crypto algorithm is not given the symmetric key is not created and not stored into the beginning of the log file, so the file is not found when log data is tried to be appended after the key data.
To Reproduce
logger on
Expected behavior
Logging is started without encryption. Afters logging is stopped the log file will containsplain text ulog data.
Screenshot / Media
No response
Flight Log
No response
Software Version
PX4-Autopilot main branch. Bug noticed with commit b765769 (Note! This commit did not break the logging, but it is just one commit with which the bug was detected. The breaking change is this one: 2da944a)
Flight controller
px4_fmu-v5
Vehicle type
None
How are the different components wired up (including port information)
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: