optional ignore passcode and fix to genSig