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

Paul Fertser fercerpav at gmail.com
Sat Mar 26 09:46:14 EDT 2016

Weedy <weedy2887 at gmail.com> writes:
> $ openssl dgst -sha256 ubcd535.iso | awk '/^SHA256/ {
> gsub(/^SHA256\(/,"",$1); gsub(/\)\=/,"",$1); print $2"  "$1 }'

Or sed -E 's/.*\((.*)\)= (.*)/\2  \1/'

Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercerpav at gmail.com
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list