use the `HAVE_KEYRING` constant