INT-3200: DefaultSFTPSessionFactory supports using a ByteArrayResource f...

DefaultSFTPSessionFactory supports using a ByteArrayResource for the PrivateKey
What's going on with your STS? Seems for me it has option to remove trailing whitespaces