Re: [LEDE-DEV] SHA256 hashes for packages

2017-01-06 Thread Hannu Nyman
On 6.1.2017 0:28, Heinrich Schuchardt wrote: > Hello Hannu, > why should a variable be called MD5 if it holds an SHA256 hash? That does not make any sense. > > Could you, please, point me to the thread on the openwrt or lede list that discussed this weird idea. Not sure if that widely discuss

Re: [LEDE-DEV] SHA256 hashes for packages

2017-01-05 Thread Alberto Bursi
Older OpenWRT releases won't get the new package (or the updates) anyway so breaking compatibility is not an issue. Although using a misleading name is still an issue. In LEDE core repo that var was renamed into PKG_HASH and contains a SHA256sum. The LEDE buildsystem works with both variables h

[LEDE-DEV] SHA256 hashes for packages

2017-01-05 Thread Heinrich Schuchardt
Hello Hannu, why should a variable be called MD5 if it holds an SHA256 hash? That does not make any sense. Could you, please, point me to the thread on the openwrt or lede list that discussed this weird idea. Abusing the MD5 variable with SHA256 hashes will break compatibility with older openwrt