Post

Replies

Boosts

Views

Activity

Simple and Fast IPC mechanism between two shell scripts
I have two shell applications and one starts to run after the other exits. I need to set a flag from the first shell application. From the second shell application, I need to check whether the flag is true or false. What is the simplest way to do it? As they don't run simultaneously I can't use named pipes. Writing to a file seems complicated. What are some other mechanisms to achieve this?
0
0
993
Sep ’22
When Passkeys in iCloud Keychain will become officially available on macOS?
Right now users need to enable passkeys from Safari by enabling the developer mode in order to use them in applications. From the docs: In macOS, choose Safari > Preferences, click the Advanced tab, and select the “Show Develop menu in menu bar” option. Then choose the Develop > Enable Syncing Platform Authenticator menu in Safari. Is Apple planning to enable it by default in later releases of macOS? Are there any official applications already using this feature in their applications?
4
0
1.6k
Jun ’22
Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.AuthenticationServicesCore.AuthenticationServicesAgent"
Hi devs!!! Calling createCredentialRegistrationRequestWithChallenge returns the following error: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.AuthenticationServicesCore.AuthenticationServicesAgent" UserInfo={NSDebugDescription=connection to service named com.apple.AuthenticationServicesCore.AuthenticationServicesAgent} What can be the potential reason?
3
1
2.2k
May ’22
createCredentialAssertionRequestWithChallenge: After canceling login it doesn't work again.
Hi everyone, my first post here: I am trying to integrate new macOS Monterey FIDO2 authentication into a macOS app and I have trouble with login issue. After making an assertion request (calling createCredentialAssertionRequestWithChallenge) the Sign In dialog appears. When you click on the cancel button and make another assertion request the dialog doesn't appear and the application window's close button turns gray and the window loses its focus. (please see the attached screenshots). This happens only when pressed cancel button on Sign In, canceling registration or authenticating sign-in or log-in are ok. Here is my code for authentication request:    ASAuthorizationPlatformPublicKeyCredentialProvider* credentialProvider = [[ASAuthorizationPlatformPublicKeyCredentialProvider alloc] initWithRelyingPartyIdentifier:@"myrelyingparty.com"];   ASAuthorizationRequest* request = [credentialProvider createCredentialAssertionRequestWithChallenge:challenge];   ASAuthorizationController* authorizationController = [[ASAuthorizationController alloc] initWithAuthorizationRequests:@[request]];       authorizationController.delegate = self;   authorizationController.presentationContextProvider = self;   [authorizationController performRequests];       [[NSApplication.sharedApplication mainWindow] makeKeyWindow];
3
0
1.1k
Feb ’22