Go to file
OpenGnSys Support Team 49017c00ca utils: tip_check_csum() uses local checksum file
.full.sum file in the local cache contains the local checksum for this file,
this checksum is calculated by tip_write_csum(), therefore, there is no need to
calculate this checksum again from the image file in the cache, use this
checksum content instead.

if .full.sum is not available, then cache is inconsistent, tip_check_csum()
is called after checking if image file exists, raise an exception.

checksum could mismatch in two situations:

a) new image version (checksum is different)
b) image is corrupted

in both cases, a new fresh image needs to be retrieved.

this speeds up checksum validation.
2024-07-30 16:11:40 +02:00
cfg src: improve logging 2022-06-08 10:27:06 +02:00
src utils: tip_check_csum() uses local checksum file 2024-07-30 16:11:40 +02:00
tests ogClient is AGPLv3+ 2021-05-14 00:19:28 +02:00
.gitignore Create new ogClient 2020-01-19 19:50:44 +01:00
COPYING Rename LICENSE to COPYING 2020-06-18 16:45:46 +02:00
ogclient src: log backtrace in unhandled error cases 2024-04-03 13:31:10 +02:00
setup.py Rename 'linux' folder and operations to 'live' 2020-12-03 13:38:43 +01:00