remove erroneous spaces introduced by openssl wrapping encrypted string