草庐IT

keychain-access-groups

全部标签

ios - 应用程序内的钥匙串(keychain)解锁,这种方法安全吗?

我正在使用Keychain允许在远程应用程序中通过TouchID登录。我担心的是攻击者在越狱设备中设置断点并恢复用户名和密码,我尝试了这种方法来让信息在内存中的时间尽可能少。我想知道我是否需要这种程度的偏执以及我使用的方法是否正确。KeychainItemWrapper*keychainItem=[[KeychainItemWrapperalloc]initWithIdentifier:@"MyAppLogin"accessGroup:nil];NSString*password=[keychainItemobjectForKey:(__bridgeid)(kSecValueData)

ios - iOS 中的钥匙串(keychain)访问和配置文件

我开始阅读KeychainServicesProgrammingGuide,在KeychainServicesConcepts中有一条注释:OniPhone,Keychainrightsdependontheprovisioningprofileusedtosignyourapplication.Besuretoconsistentlyusethesameprovisioningprofileacrossdifferentversionsofyourapplication.我不明白这个说明...如果我需要一个临时部署的构建并且我需要稍后编辑供应配置文件以添加更多设备怎么办?或者,如果我

ios - 从钥匙串(keychain)导出证书,不接受密码

我正在尝试将我的iOS证书导出为个人信息交换(PKCS12),以便与推送通知一起使用。导出时,系统会提示我输入密码对话框:KeychainAccesswantstoexportkey"MyKey"fromyourkeychain.Toallowthis,enterthe"login"keychainpassword.但是密码永远不会被接受。甚至尝试通过以下步骤重置我的钥匙串(keychain):1.GoingtoKeychainAccess=>Preferences=>ResetMyDefaultKeychain2.Promptedwithapassworddialog:Pleasee

ios - 如何检测 iCloud 钥匙串(keychain)的变化

有没有办法在iCloud(或任何)钥匙串(keychain)更改(添加/删除/更改项目)时收到通知?类似于KVS中的NSUbiquitousKeyValueStoreDidChangeExternallyNotification我想我可以只对OSX上的$HOME/Library/Keychains文件夹进行文件监视,但是有更好的选择吗?(这甚至可以在iOS上运行吗?) 最佳答案 据我所知,钥匙串(keychain)服务,无论钥匙串(keychain)是本地的还是iCloud钥匙串(keychain),都不会宣布更改。您应该如何使用钥

ios - 当钥匙串(keychain)被锁定时哪些钥匙串(keychain)属性是不可访问的?

有5typesofkeys可以存储在iOS钥匙串(keychain)中kSecClassGenericPasswordkSecClassInternet密码kSecClassCertificatek安全类keykSecClassIdentity这些键类型中的每一种都支持不同的属性集。目前还不清楚哪些属性是“公开的”并暴露给锁定的钥匙串(keychain),哪些不是。我是否应该假设锁定的钥匙串(keychain)可以暴露以下所有内容?没有我的应用程序组授权的应用程序可以查看我的钥匙串(keychain)项的属性吗? 最佳答案 所有属性

ios - 检查特定用户名是否存在于 KeyChain 如果不存在则使用密码 ios objective-c 存储新用户

我需要将用户名和密码值存储到keychain,下次如果我想存储新的用户名和密码,如果用户名已经存在,它会显示消息,但如果用户名不同,它应该存储它。以下是我的代码我能够存储但不知道如何检查特定的用户名。+(bool)CheckValuesInKeyChainWithUsername:(NSString*)username{NSDictionary*dictSearch=[NSDictionarydictionaryWithObjectsAndKeys:(__bridgeid)(kSecClassInternetPassword),kSecClass,kCFBooleanTrue,kSec

iOS CoreText 崩溃 : EXC_BAD_ACCESS KERN_INVALID_ADDRESS while setting view height

以下是来自Crashlytics的堆栈跟踪,它在设置TextView的框架高度时崩溃:(我在同一行@objcUIView.height.setter(UIView+.swift)遇到了EXC_BAD_ACCESSKERN_INVALID_ADDRESS和SIGABRTABORT崩溃)EXC_BAD_ACCESSKERN_INVALID_ADDRESS0x000000000000000dCrashed:com.apple.main-thread0CoreText0x194d24cd8TOpenTypeMorph::SetLookups(OTL::GSUB&,unsignedintcons

数据库报错 Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: Access denied

数据库报错FailedtoobtainJDBCConnection;nestedexceptionisjava.sql.SQLException:Accessdeniedforuser‘root’@‘58.214.13.154’(usingpassword:YES)先看下报错如果你也是用Java连接数据库的可以尝试看看org.mybatis.spring.MyBatisSystemException:nestedexceptionisorg.apache.ibatis.exceptions.PersistenceException:###Errorqueryingdatabase.Cause:

ios - 在 XCode : specified item could not be found in the keychain 中签署应用程序

在XCode中归档应用程序时(产品>归档)出现以下错误:CodeSign/Users/xxx/Library/Developer/Xcode/DerivedData/name-xxx/Build/Intermediates/ArchiveIntermediates/name/InstallationBuildProductsLocation/Applications/name.appcd/Users/xxx/Documents/name/App/platforms/iosexportCODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/D

ios - indexPath.row 处的 prepareForSegue EXC_BAD_ACCESS

我正在尝试通过prepareForSegue函数下的segue传递数据,但我一直收到exc_bad_access。-(void)prepareForSegue:(UIStoryboardSegue*)seguesender:(id)sender{NSIndexPath*indexPath=[self.tableViewindexPathForSelectedRow];//NSIndexPath*indexPath=[NSIndexPathindexPathForRow:rowIndexinSection:0];//Makesureyourseguenameinstoryboardist