Post

Replies

Boosts

Views

Activity

Custom SFAuthorizationPluginView for Lock Screen
Hi, I have a bundle with my custom lock screen which is a subclass of SFAuthorizationPluginView. I have implemented : override func view(for viewType: SFViewType) -> NSView? and override func buttonPressed(_ inButtonType: SFButtonType), as required in apple's documentation. I have replaced the default UI in the system.login.screensaver.plist with my mchanism. (the custom plist is in the end of this post) When I lock the screen, I get a black screen with the mouse hovering over. I can see in my logs that my view is loaded and the overriden function view(for viewType: SFViewType) is called. When I change the authenticate.plist to display my custom UI, it is displayed properly. Why do I get a black screen when activating the lock screen, but do get my UI when authentication is needed? What I am missing with the lock screen? Here is the system.login.screensaver.plist: ################################################################## <key>class</key> <string>evaluate-mechanisms</string> <key>comment</key> <string>The owner or any administrator can unlock the screensaver, set rule to &quot;authenticate-session-owner-or-admin&quot; to enable SecurityAgent.</string> <key>created</key> <real>711292439.260325</real> <key>mechanisms</key> <array> <string>MyBnndle:LockScreen</string> </array> <key>modified</key> <real>717407094.6108691</real> <key>shared</key> <true/> <key>tries</key> <integer>10000</integer> <key>version</key> <integer>1</integer> cheers, sivan
1
0
468
Jan ’24
Homebrew and Undefined symbols for architecture arm64
Hi, I have a mac with M1 pro. I installed libfido2 with homebrew. I took the static libarary - libfido2.a and added to a xcode project (simple app). In this project I am just trying to test the libfido2, to see if its working. When building I get : Undefined symbols for architecture arm64: "_BN_CTX_end", referenced from: _es256_pk_to_EVP_PKEY in libfido2.a(es256.c.o) _es256_pk_from_EC_KEY in libfido2.a(es256.c.o) any ideas why, and how to fix this? cheers
1
0
662
Aug ’23
macOS Authorization Plugin stopped working with Core BLE since Monterey 12.3
Hi, I have an authorization plugin for macOS. It uses Core BLE to authenticate the login user with a near by mobile phone. The BLE session is denied since Monterey 12.3. This Security Agent Plugin for macOS is using the CBPeripheralManager and implementing the CBPeripheralManagerDelegate. Since Monterey 12.3, I get the CBManagerState.unauthorized when trying to access BLE. Its a new behavior. Anybody with insights on this? cheers
2
0
794
Dec ’22