Make internal keyring a replacement for keyring lib