Prevent decrypt to be run with an undefined secret.