549
NIST proposes barring some of the most nonsensical password rules
(arstechnica.com)
This is a most excellent place for technology news and articles.
Trimming whitespace from the start and end of a password is fine but you absolutely should not remove whitespace from the middle of a password.