We generate key pair and import cert with access flag kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly in our application. We then have notification extension that access shared keychain to retrieve the identity when device is locked. We use SecItemCopyMatching to get all SecIdentity with its attributes as below: let queryDict: [String: Any] = [ kSecClass as String: kSecClassIdentity, kSecReturnAttributes as String: true, kSecReturnRef as String: true, kSecMatchLimit as String: kSecMatchLimitAll ] var oss = SecItemCopyMatching(queryDict as CFDictionary, &attrs) When the code runs on notification extension with locked device, it failed on some devices (not on all devices) with error -25308. The sysdiagnose shows: default securityd 2024-03-14 10:49:13.844996 -0400 129 0x110115 SecDbKeychainItemV7: cannot decrypt metadata key because the keychain is locked (-25308) default securityd 2024-03-14 10:49:13.845036 -0400 129 0x110091 NSExtension[2222]/1#7 LF=0 copy_matching Error Domain=
Search results for
Account Locked
31,801 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hi! A widget can be shown in a lock screen where Today Extensions are. When a device is locked, is it possible to hide content in such a widget? Or is it possible to replace content in such a widget with a placeholder? In a use case such as a widget shows content that is related to privacy, we would like to hide the content when a device is locked while we would like to show the content when the device is not locked.
Since I upgraded from 10.10 to 10.11 Beta (currently on 15A279b), I can't change any system preferences anymore, as the lock does not unlock despite the input of the correct password.If I click on the closes lock symbol, then the text next to it changes from click the lock to make changes to Authenticating and I am asked to input my password. If I input an invalid password and click the Unlock button, the the password input field just vibrates and stays open, like it used too in previous OS X versions. However if I input the correct one, then the password input box closes, showing successful authentication (the console also logs a successful authentication), but the lock symbol stays closed and the text next to it just changes back to click the lock to make changes.Closing open locks works, just opening closed ones does not.With previous OS X versions I would have run a repair permissions in disk utility in case the update somehow set some wrong permission
Hi,Is there a way to detect iPhone lock and unlock events from an iOS application when the app itself is in the background.Currently it looks like we can only detect screen lock/unlock when the app is in the foreground.Please let us know if this is possible with the latest iOS version.
When I receive a text or message on the Facebook messenger app through my lock screen, it will not let me quick reply when my phone is locked. It just comes up with 'clear' reply does not appear. I have an iPhone 6s and my phone is all up to date.
I think it would be ok to add some features, there are present in other OS, in personalization of the locked screen for MacOS SONOMA
Hi, I had my app developed and have found that when the iPhone locks screensaver it stops playing the track and doesn't recognise it has a sound track playing. Is there something my developer needs to put in or is it an IOS security issues? Love any recommendations please.
screen is flickering after i lock the iphone.i am working on location based application so i enabled location update in background is this might be the reason for screen flickering.I dont see this issue in IOS 8 devices, only in IOS9.
Apple needs to support locking a SwiftUI View into a particular orientation like .portrait or .landscape. The work arounds to support this feature are complicated and keep getting deprecated by Apple. You need this feature to support the Camera at least which is another sore topic since it's poorly supported in SwiftUI presently. All that is needed is an orientation var like UIDevice.current.orientation, but excluding .faceUp and .faceDown so it only returns .portrait or .landscape orientations. If the device goes into .faceUp it should just return the previous orientation. Then a View extension like detectOrientation(_ orientation: Binding) to detect the current views orientation so this can be used like : if orientation.isLandscape { //SwiftUI landscape elements } else { //SwiftUI portrait elements } Then another method .lockOrientation(_ orientation:UIDeviceOrienation) Now a SwiftUI can get the current orientation with : .detectionOriention($orientation) And lock a SwiftUI view : .lockOri
Hello everyone,MacBook 15 end 2013, Sierra 10.12.1, Xcode 8.1(8B62)After a restauration of my app folder from my Time Machine, my project is bloqued, no more change can be make in Xcode.At opening it in Xcode, the following dialog appeared :myApp Workspace is locked for editing and you may not be able to save your change. Do you want to unlock it?I clicked on Unlock button and a next dialog appeared :The file myApp.xcuserdatad could not be unlocket. Unlocking failed for an unknown reason.Then I clicked on the OK button and the first dialog come on screen again and again...Thanks in advance for every suggestion, idea, help !Don
I have seen that in WWDC24 it is stated from Apple and I have seen examples in the video presentation of how to remove Activation Locks from computers from Apple Business Manager. Well I've tried and so far we can not do that, I need to do something to apply in my organization? there are some release dates?
Topic:
Business & Education
SubTopic:
Device Management
We have implemented a Notification Service Extension in our app to handle remote notification and access keychain to get certificate and identity to refresh network relay configuration. Using SecItemCopyMatching to get SecIdentityRef works when device is unlocked. Whenever push notification arrives and device is locked, our notification service extension failed to access keychain to get identity reference with error code -25308 errSecInteractionNotAllowed. It looks like keychain is locked when device is locked. Is there a way to make keychain unlocked?
I'm using NetService to discover and then connect their streams to transfer data between devices. But the connection terminates when the device is locked. I've looked around but haven't found any working solutions. Is there any way to keep NetSerivce(tcp connection) alive even when the device is locked ?
Through each beta one problem has remained constant:Phone app freezes/locks up at random times. No pattern to it, purely arbitrary. Closing phone app and reopening has no effect. Does not affect any other apps when this happens, can still use iPhone for all other functions/apps. Have to reboot in order to be able to use it again. Currently using GM, have had this issue since beta 1.
the screen lock and whatsapp notification volume is quite low. i have tried turning attention aware on and off, and ringer volume +/-, but no luck. having this issue from a long time, even before 14.5 update, tried resetting device.