Skip to content
This repository has been archived by the owner on Aug 24, 2019. It is now read-only.

Invalid characters produce uncaught exceptions #13

Open
CodaFi opened this issue Dec 28, 2012 · 1 comment
Open

Invalid characters produce uncaught exceptions #13

CodaFi opened this issue Dec 28, 2012 · 1 comment
Labels

Comments

@CodaFi
Copy link

CodaFi commented Dec 28, 2012

When an active SSKeychain attempts a write to the sec API with credentials containing characters that are non-traditional (not letters or integers), the sec API will throw a muted exception (I say that because it is undetectable without a breakpoint on lines 222 and 234), which can also be caught with a breakpoint on all exceptions. The problem, being, that in setting said breakpoint on all exceptions, the exception will cause the program currently being debugged to exit through main().

The credential server on OS X obviously has a problem with usernames for services such as email, and as such, SSKeychain should default to the more appropriate SecKeychainAdd/FindInternetPassword methods for these types of credentials in order to avoid this exception.

@RobertAudi
Copy link

Any updates on this issue please?

@soffes soffes added the bug label Mar 11, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants