Post not yet marked as solved
I am using AWS Cloud Services, when I create an EC2 instance Amazon automatically generates a Security Certificate in .pem file extension, it downloads to my computer, when I click it or try and import it to Keychain, there is an error. Terminal commands cannot locate the file. I used Homebrew to try and convert the file to .12, that will not work given the file cannot be located.
Any thoughts?
Post not yet marked as solved
I find myself in the keychain a series of accounts and related pw, normally created at the time, transformed into very long character strings like MEIEEPgAAAAAAAAAAAAAAAAAAAEwFAYIKoZIhvcNAw****************
The particular feature is that account and relative pw are almost the same, just one character varies (I think) but they are not, of course, the ones I chose. And, just as obviously, they don't work when requested by the sites...
The phenomenon is recent, although I remember noticing something like this looking at the pw in my Mac keychains several macOSs ago - I then thought of some form of coding. But seeing these very long strings being proposed automatically when requested by the site, instead of original accounts and pw, worries me ... does anyone have experience of such a thing?
Post not yet marked as solved
When I use Keychain Access to access .pem files, I receive an error, "An error has occurred. Unable to import an item. The contents of this item cannot be retrieved". I have used every method suggested such as change access the open only function. This it is not an available option to me. I have cleared all keys/certificates and rebooted my computer an innumerable amount of times. Utilized various method under "import items," saved to system, system roots, and local items and nothing works.
The solution seems to involve removing and reinstalling the app, however, I am not able to perform this action. No matter the method used to access this app, via spotlight, go app, go utilities, or app search using finder, there is no option to delete the app. When I drag it to trash, it bounces back. I have two plus one guest users. I have repeated each of these actions under each user login believing one could be a master account.
I ran the following command code to remove the app: sudo rm -rf / Applications/Utilities/Keychain\Access.app. After prompting me for my password, which seemed like a good sign, I receive the following message: rm: "/" may not be removed.
I am crippled in AWS because I am unable to decrypt and access Key Pairs.
I do not understand why I cannot delete the app. I do not understand why "keychain" may not be removed. Does anyone have any suggestions, thoughts, ideas, or considerations? I am grateful for any advice.
Post not yet marked as solved
Hello guys, please how can i create my imei verification website for all Apple products?
Post not yet marked as solved
After the MacOS version is updated to 12.6.1, the personal VPN cannot be connected. After troubleshooting, the sharedSecretReference may be invalid.(The sharedSecretReference is obtained from the keychain)
os update before: security default-kechain-> "/Users/admin/Library/Keychains/login.keychain-db"
os update after: security default-kechain-> security: SecKeychainCopyDefault: A default keychain could not be found.
Although it can be corrected by this command :security default-keychain -s "/Library/Keychains/System.keychain"
then,VPN can connect.
I wonder if it is possible to fix this problem through code? Or is the code OK? This is a bug in the Apple system?
Post not yet marked as solved
I found a crash by chance. It doesn't come up often. I upload the crash log.
it seems the SecItemCopyMatching crashes. but I don not find the reason.
static LMNetwork * aInstance = nil;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
aInstance = [[LMNetwork alloc] init];
//检测网络连接状态
[aInstance checkNetWorkStatus];
});
return aInstance;
}
- (instancetype)init{
if (self = [super init]){
self.networkQueue = dispatch_queue_create("com.aqara.network.queue", DISPATCH_QUEUE_CONCURRENT);
self.backQueueManager.completionQueue = self.networkQueue;
self.ioQueue = dispatch_queue_create("com.aqara.read.country.file", DISPATCH_QUEUE_CONCURRENT);
dispatch_sync(self.ioQueue, ^{
NSString* countryCode = [LMKeyChain objectForKey:@"loginCountryCode"];
[LMKeyChain removeObjectForKey:@"loginCountryCode"];
});
}
LMKeyChain.m
+ (NSString*)objectForKey:(NSString*)key
{
[crash8.txt](https://developer.apple.com/forums/content/attachment/22a65c6b-fa57-4f15-97cc-70640330cfa9)
NSMutableDictionary *keychainQuery = [NSMutableDictionary dictionaryWithObjectsAndKeys:
(__bridge id)kSecClassGenericPassword,(__bridge id)kSecClass,
key, (__bridge id)kSecAttrService,
key, (__bridge id)kSecAttrAccount,
(__bridge id)kSecAttrAccessibleAfterFirstUnlock,(__bridge id)kSecAttrAccessible,
nil];
[keychainQuery setObject:(__bridge id)kCFBooleanTrue forKey:(__bridge id)kSecReturnData];
[keychainQuery setObject:(__bridge id)kSecMatchLimitOne forKey:(__bridge id)kSecMatchLimit];
CFDataRef keyData = NULL;
if (SecItemCopyMatching((__bridge CFDictionaryRef)keychainQuery, (CFTypeRef *)&keyData) == noErr) {
@try {
ret = [NSKeyedUnarchiver unarchiveObjectWithData:(__bridge NSData *)keyData];
} @catch (NSException *e) {
NSLog(@"Keychain Unarchive of %@ failed: %@", key, e);
}
}
Post not yet marked as solved
I'm trying to build functionality into a custom browser, for personal use ATM, to emulate how Safari handles autofill for logging onto different sites. I'm unsure where to start. Any ideas/suggestions?
I poked around and can't find a good place to start. Any examples of creating the connection to the iCloud Keychain and retrieving a credential set, would be beyond incredible, but just a pointer or to of where to start looking would help a lot as well.
Thank you!
Post not yet marked as solved
I found that this app allows users to log in directly with the last account password. I would like to know what interface is this provided by the system.
This is not Apple Login!
Post not yet marked as solved
When trying to build an AR app to my Iphone 11 with Xcode (13.2.1) using Mac OS 12.1 the build fails. Codesign wants me to use the Apple Development keychain. No matter which password I use it fails.
Post not yet marked as solved
I tried to store ID and password into iCloud Keychain, I have already done with all functionality and coding parts, I can easily store them when I test into Simulator but am unable to work with a real device.
I have also gone through all the useful articles, but still facing the same issue.
SecAddSharedWebCredential("domainName" as CFString, self.strEmailId as CFString, self.strPassword as CFString) { error in
if error != nil {
print(error?.localizedDescription)
return
}
I have implemented the above code for storing ID and password, It works in Simulator but does not work on a real device.
I faced the below error.
("The operation couldn’t be completed. (OSStatus error -25293 - "doaminName" failed to approve "TeamID.BundleIdentifier")")
Can you please help me out?
Post not yet marked as solved
I have a problem is we have some clients. And each client have difference Apple Development Id.
But we want to share data between apps like Keychain Sharing or App Group but it require same Apple Development Id.
So have any other ways for apps can share data with difference Apple Id?