开发者

How to debug a tokend

开发者 https://www.devze.com 2023-04-09 12:21 出处:网络
Is it possible (and if: how) to run a custom tokend that is started开发者_开发问答 by securityd in a debugger?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消