You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This is to avoid self-signed certificateif (notcert.signature_infoornotcert.signature_info.key_locatorornotcert.signature_info.key_locator.name):
continue
If trust anchor is in the keychain, the key suggestor never returns it even if it's a valid signer.
The text was updated successfully, but these errors were encountered:
This is because the design and implementation of the suggest function did not consider the use by controller.
To add more context: this code is added to fix the problem that the function may return a self-signed certificate that is not the trust anchor but satisfies the trust schema's check, as we only check packet name vs cert name, but not further move to cert name vs cert's signer.
The highlighted piece of code avoids returning all self-signed certificates.
If trust anchor is in the keychain, the key suggestor never returns it even if it's a valid signer.
The text was updated successfully, but these errors were encountered: