Privacy-friendly security verification