title: Storing email in keychain impossible (KeychainItemWrapper)
body: <p>I'm using the ARCified version of KeychainItemWrapper available at <a href="https://gist.github.com/1170641" rel="noreferrer">github</a>, and I can't get it to store both email and password.</p>
  
  <pre><code>KeychainItemWrapper *keychainItem = [[KeychainItemWrapper alloc] initWithIdentifier:@"myApp" accessGroup:@"MY_APP.com.yourcompany.GenericKeychainSuite"];
      [keychainItem setObject:[self.email dataUsingEncoding:NSUTF8StringEncoding] forKey:(__bridge id)kSecAttrAccount];
      [keychainItem setObject:self.password forKey:(__bridge id)kSecValueData];    
  </code></pre>
  
  <p>I works perfectly as long as I store an email... that don't have an at sign (@) it. Otherwise, I get the error</p>
  
  <pre><code>*** Assertion failure in -[KeychainItemWrapper writeToKeychain]
  *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Couldn't add the Keychain Item.'
  </code></pre>
  
  <p>Which comes from those lines</p>
  
  <pre><code>result = SecItemAdd((__bridge CFDictionaryRef)[self dictionaryToSecItemFormat:keychainItemData], NULL);
  NSAssert( result == noErr, @"Couldn't add the Keychain Item." );
  </code></pre>
  
  <p>Do you have any idea about what can be going wrong here ?</p>
  
  <p>Thanks</p>