AlanQuatermain / aqtoolkit

A toolkit consisting of a bunch of generally useful routines and extensions I wrote when putting together other projects.
http://blog.alanquatermain.net/code
BSD 3-Clause "New" or "Revised" License
785 stars 149 forks source link

kSecAttrAccount not used in -[AQKeychainItem copyQueryDictionary:] ? #14

Open cahlbin opened 12 years ago

cahlbin commented 12 years ago

Not sure if this is by design or not, but at least I found myself wanting to include the kSecAttrAccount attribute to be included when querying (-[AQKeychainItem queryKeychain]).

So in -[AQKeychainItem copyQueryDictionary: (AQKeychainOptions)] , around AQKeychainItem.m:142, why not also include kSecAttrAccount in addition to kSecAttrSecurityDomain, kSecAttrPort, kSecAttrPath etc when building the set of attributes used in the query?