Open jaraco opened 1 year ago
Currently, the macOS Keyring backend hard-codes a few error codes to messages. Better would be to use the API to resolve error codes to human-readable message strings.
I started looking into how to do it. I imagine it goes something like:
>> api._sec.SecCopyErrorMessageString(-25244) -1797030505
But probably something needs to translate that integer response into a CFString object and convert that object to a Python string.
CFString
Maybe someone would be interested in determining how to do that?
Hi @jaraco. Can you please assign me to this issue.
Currently, the macOS Keyring backend hard-codes a few error codes to messages. Better would be to use the API to resolve error codes to human-readable message strings.
I started looking into how to do it. I imagine it goes something like:
But probably something needs to translate that integer response into a
CFString
object and convert that object to a Python string.Maybe someone would be interested in determining how to do that?