Is it possible (and if: how) to run a custom tokend that is started by securityd in a debugger?
Preferably within the Xcode IDE.
Is it possible (and if: how) to run a custom tokend that is started
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
One can start XCode as root and then configure the debugger to wait for a new instance of the tokend executable. Once the pcscd signals the presence of a smartcard and the securityd therefore launches a new instance of the tokend the debuger will attach to this new instance.