add a dsha_finisher module that behaves like the python finish_dsha()