Switching to base 64 encoding for the keychain attributes to remove the limitations on the key contents.