prevent mangling user output by crafted keyring