[OpenWrt-Devel] Sha256 checksum generation of images: why OpenSSL instead of sha256sum?

Weedy weedy2887 at gmail.com
Sat Mar 26 07:59:51 EDT 2016


$ openssl dgst -sha256 ubcd535.iso | awk '/^SHA256/ {
gsub(/^SHA256\(/,"",$1); gsub(/\)\=/,"",$1); print $2"  "$1 }'
f4ad684385845a0dfcd944dc6b6a0aa00886a05a7143efafa8403e01fea49849  ubcd535.iso
$ sha256sum ubcd535.iso
f4ad684385845a0dfcd944dc6b6a0aa00886a05a7143efafa8403e01fea49849  ubcd535.iso

It's fairly painless to reformat.
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list