Add support for sha-1 fingerprint.

Signed-off-by: Mark Ellzey <mark.thomas@mandiant.com>
Formatting fixup.

Signed-off-by: Mark Ellzey <mark.thomas@mandiant.com>