It is important to be aware that requiring attestation is an invasive policy,
especially when used to restrict users' choice of authenticator.
For some applications this is necessary; for most it is not.
Similarly, attestation does not automatically make your users more secure.
Attestation gives you information, but you have to know what to do with that information
in order to get a security benefit from it; it is a powerful tool but does very little on its own.
This library can help retrieve and verify additional information about an authenticator,
and enforce some very basic policy based on it,
but it is your responsibility to further leverage that information into improved security.
When in doubt, err towards being more permissive, because using WebAuthn is more secure than not using WebAuthn.
It may still be useful to request and store attestation information for future reference -
for example, to warn users if security issues are discovered in their authenticators -
but we recommend that you do not require a trusted attestation unless you have specific reason to do so.