Keychain library doesn't handle special characters very well #6

bradchoate opened this Issue Dec 27, 2012 · 0 comments


None yet
1 participant

bradchoate commented Dec 27, 2012

When a password contains special characters (quotes, backslashes, etc.), the call to the security tool is improperly written and fails to read and/or write the backend password. Special characters should be encoded using a "\nnn" notation, where "nnn" is the octal representation of the ASCII character being written. Upon reading a password, any "\nnn" sequences should be decoded as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment