Opkg index files (Packages and Packages.gz) presently include an MD5 checksum of each IPK. This checksum is used to validate package integrity after download, before upack/install occurs. MD5 is considered broken by NIST as of ~2005. We should modify opkg to use a stronger hash algorithm, e.g. one of the "Secure Hash Standard" algorithms recommended by FIPS 180-4. https://csrc.nist.gov/projects/hash-functions https://csrc.nist.gov/publications/detail/fips/180/4/final
Opkg already has support for SHA256 via the configure option --enable-sha256.