Strip whitespace from secret key