UpdateZipSigner is a project mainly written in Shell, it's free.
Simple script and required files to sign update.zip files required for flashing
Simple script and required files to sign an update.zip with the test keys often used.
Usage: