SFCertificatePanel displays trust settings in Big Sur

Hi,

I've noticed that the SFCertificatePanel is now displaying trust settings whereas it previous didn't. Further, the documentation explicitly states that it will not.

This class displays certificate details, but not trust settings. To display a certificate with editable trust settings in a panel or sheet, use the SFCertificateTrustPanel class. To display certificates in a custom view, use the SFCertificateView class.

https://developer.apple.com/documentation/securityinterface/sfcertificatepanel?language=objc

Steps to reproduce:

  1. Load up a certificate object
  2. Show the panel

Expected: The certificate details will be displayed, but the user will not be shown or be able to manipulate the trust settings

Actual: The certificate details are displayed as well as Trust settings.

More Information: I tested the same code on Mojave and Catalina. They match my expectations. However, on Big Sur 11.5 they don't.

Is this a regression?

Add a Comment

Replies

I've noticed that the SFCertificatePanel is now displaying trust settings whereas it previous didn't.

Yeah, that’s weird. Please file a bug about this, then post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I have created Feedback Id 9429421 to track this.

Thanks!

Add a Comment