Have you ever been asked on an interview how you handled being assigned to write code that you had serious ethical concerns about, or whether there was any kind of projects you'd object to being assigned to? I haven't. Maybe those questions come AFTER the whiteboard hazing if there's time...
I've in the past objected to an ethically questionable assignment, and the company dealt with by moving me to a different part of the code base and hiring a contractor who had no problem with doing the deed. Had I quit over it they would likely have shrugged and hired someone else.