How to debug a tokend
Is it possible (and if: how) to run a custom tokend that is started开发者_开发问答 by securityd in a debugger?
Preferably within the Xcode IDE.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.
精彩评论