Linux Keyring error handling