We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This method has currently (6.2.2) the following metadata:
{'arguments': ({'_template': True, 'type': b'@'}, {'_template': True, 'type': b':'}, {'null_accepted': True, 'type': b'^{__SecIdentity=}'}, {'_template': True, 'type': b'@'}, {'_template': True, 'type': b'Q'}), 'classmethod': True, 'hidden': False, 'retval': {'_template': True, 'type': b'@'}}
Calling it with a SecIdentityRef object as the first argument triggers the following error:
depythonifying 'pointer', got 'SecIdentityRef'
The text was updated successfully, but these errors were encountered:
I encountered the same error, and got following workaround.
import objc from Security import ( NSURLCredential, SecIdentityGetTypeID, ) # Workaround for the error of `depythonifying 'pointer', got 'SecIdentityRef'` objc.registerCFSignature("SecIdentityRef", b"^{__SecIdentity=}", SecIdentityGetTypeID()) objc.registerMetaDataForSelector( b'NSURLCredential', b'credentialWithIdentity:certificates:persistence:', { 'arguments': { 2: {'null_accepted': False, 'type': b'@'}, 3: {'_template': True, 'type': b'@'}, 4: {'_template': True, 'type': b'Q'}, }, 'classmethod': True, 'hidden': False, 'retval': {'_template': True, 'type': b"@"} } )
references:
Sorry, something went wrong.
@ykrods Thanks a lot! It worked!
16b3870
No branches or pull requests
This method has currently (6.2.2) the following metadata:
Calling it with a SecIdentityRef object as the first argument triggers the following error:
depythonifying 'pointer', got 'SecIdentityRef'
The text was updated successfully, but these errors were encountered: