Post

Replies

Boosts

Views

Activity

Reply to security add-trusted-cert asks password twice in some cases: The authorization was denied since no user interaction was possible
use SecTrustSettingsSetTrustSettings also get this error . Maybe because I can't make my application root? //      CFArrayRef trustSettings = (__bridge CFArrayRef)@[x509Settings, otherSettings];       SecKeychainUnlock(NULL, 0, NULL, FALSE);       OSStatus isTrustOk = SecTrustSettingsSetTrustSettings(certificate, kSecTrustSettingsDomainAdmin, NULL);       if (isTrustOk == errSecSuccess) {         CASLog(@"set trusting is OK");       }else {         CASLog(@"set trusting failed!");         CFStringRef errormsg = SecCopyErrorMessageString(isTrustOk, NULL);         NSString *errmsg = (NSString *)CFBridgingRelease(errormsg);         CASLog(@"error:%@",errmsg);       }       SecKeychainLockAll(); //      CFRelease(x509Policy); The authorization was denied since no user interaction was possible. i got this。
Topic: Code Signing SubTopic: Entitlements Tags:
Jun ’21
Reply to networksetup set WIFI 8.8.8.8 not work or SystemConfiguration
FreeBSD had PF FireWall, PF rule catched me.I solved it
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to How to detect and prevent port leaks?
I also got this problem. Did you finally solve it? What caused it. I'm so confused now
Replies
Boosts
Views
Activity
Nov ’21
Reply to security add-trusted-cert asks password twice in some cases: The authorization was denied since no user interaction was possible
use SecTrustSettingsSetTrustSettings also get this error . Maybe because I can't make my application root? //      CFArrayRef trustSettings = (__bridge CFArrayRef)@[x509Settings, otherSettings];       SecKeychainUnlock(NULL, 0, NULL, FALSE);       OSStatus isTrustOk = SecTrustSettingsSetTrustSettings(certificate, kSecTrustSettingsDomainAdmin, NULL);       if (isTrustOk == errSecSuccess) {         CASLog(@"set trusting is OK");       }else {         CASLog(@"set trusting failed!");         CFStringRef errormsg = SecCopyErrorMessageString(isTrustOk, NULL);         NSString *errmsg = (NSString *)CFBridgingRelease(errormsg);         CASLog(@"error:%@",errmsg);       }       SecKeychainLockAll(); //      CFRelease(x509Policy); The authorization was denied since no user interaction was possible. i got this。
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Jun ’21