You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to run the following program but it panic with: "Error { kind: MissingEntitlement, backtrace: , description: "SecKeychainItemCopyContent refused to return data" }"
I tried codesign as instructed in the Apple Developer guide. I created a self-signed certificate. Then I used gimmedebugah to inject Info.plist to the binary. Lastly I run the codesign using the self-signed certificate. I can verify the app is correctly signed with the following command
> codesign --verify --deep --strict --verbose=2 my_app
my_app: valid on disk
my_app: satisfies its Designated Requirement
In the Info.plist injection step, I also tried to linker flag -sectcreate __TEXT __info_plist Info.plist -o my_app.out to the .cargo/config.
But the app still cannot retrieve password from keychain. Now I have no clue what to do next. Would you mind sharing any step-by-step guideline? It will be very useful!
The text was updated successfully, but these errors were encountered:
"SecKeychainItemCopyContent refused to return data",
))
Actually I succeeded to get password without any codesign using another library: https://github.com/kornelski/rust-security-framework. Therefore I think this error is not caused by codesign. I suggest other people not to dig into this problem anymore.
I tried to run the following program but it panic with:
"Error { kind: MissingEntitlement, backtrace: , description: "SecKeychainItemCopyContent refused to return data" }"
I tried
codesign
as instructed in the Apple Developer guide. I created a self-signed certificate. Then I used gimmedebugah to injectInfo.plist
to the binary. Lastly I run thecodesign
using the self-signed certificate. I can verify the app is correctly signed with the following commandIn the
Info.plist
injection step, I also tried to linker flag-sectcreate __TEXT __info_plist Info.plist -o my_app.out
to the.cargo/config
.But the app still cannot retrieve password from keychain. Now I have no clue what to do next. Would you mind sharing any step-by-step guideline? It will be very useful!
The text was updated successfully, but these errors were encountered: