Skip to main content

Transfer of encrypted log files to the cloud

Instead of the TAR.GZ log file archives, it is possible to encrypt and transfer them symmetrically using AES-256-CBC. The archives are then given the extension TAR.GZ.ENC

The feature is activated by setting a password:

SCPI to DeviceManager: SYSTEM:LOGFILE:PASSWORD somepassword.

Deactivate by deleting the password: (command without parameters)

SCPI to DeviceManager: SYSTEM:LOGFILE:PASSWORD.

Unpacking the encrypted archives

The encrypted archives can be decrypted with OpenSSL, for example. This is also available for Windows, e.g. here:

https://slproweb.com/products/Win32OpenSSL.html

The "Light" version as MSI Installer is sufficient.

"c:\Program Files\OpenSSL-Win64\bin\openssl.exe" aes-256-cbc -pbkdf2 -salt -d -in d:\Temp\20230209_091352-log_2023_02_09__09_13_47.tar.gz.enc --pass pass:somepassword > d:\Temp\logfiles.tar.gz

The file can then be unpacked as normal ...

Under Linux everything in one step:

openssl aes-256-cbc -pbkdf2 -salt -d -in 20230209_091352-log_2023_02_09__09_13_47.tar.gz.enc --pass pass:somepassword | tar xz