Post

Replies

Boosts

Views

Activity

Token extension hangs on its own call while signing using P12 certificate /key
In my token extension when I get a call to sign - (nullable NSData *)tokenSession:(TKTokenSession *)session signData:(NSData *)dataToSign and I call SecKeyCreateSignature() func to get signature it again calls above tokenSession function and hangs there. I am dealing with P12 certification/Key for signing. I am stuck here and need some clues to proceed. See code stack Sample of TokenExtension.txt
0
0
679
Jul ’21
Creating signature with the private key from PKCS12 certificate in Token extension.
I want to create signature with the private key from PKCS12 certificate in Smart Card Token extension. (Mac OS) I am importing certificate through SecPKCS12Import() API in my app which adds the key to keychain also. Later when I try to pair identity with user it hangs on calling SecKeyIsAlgorithmSupported() API. The trace from Activity Monitor Sample shows this: Activity Monitor Sample Please suggest where I am doing wrong Or am I following whole process correctly. I tried to find some samples but couldn't.
1
0
947
Jun ’21
Convert MacOS project from older version of XCode to newer version
I have a MacOS APP with Objective-C & C/C++ code build on XCode 8.3.3 with some dependent libraries also. I want to migrate it to latest XCode version. What ere the steps I should follow? Do I need to go upgrading version by version. Please direct me to any thread or post related to this case. Thank you in advance.
Replies
1
Boosts
0
Views
700
Activity
Aug ’22
Token extension hangs on its own call while signing using P12 certificate /key
In my token extension when I get a call to sign - (nullable NSData *)tokenSession:(TKTokenSession *)session signData:(NSData *)dataToSign and I call SecKeyCreateSignature() func to get signature it again calls above tokenSession function and hangs there. I am dealing with P12 certification/Key for signing. I am stuck here and need some clues to proceed. See code stack Sample of TokenExtension.txt
Replies
0
Boosts
0
Views
679
Activity
Jul ’21
Creating signature with the private key from PKCS12 certificate in Token extension.
I want to create signature with the private key from PKCS12 certificate in Smart Card Token extension. (Mac OS) I am importing certificate through SecPKCS12Import() API in my app which adds the key to keychain also. Later when I try to pair identity with user it hangs on calling SecKeyIsAlgorithmSupported() API. The trace from Activity Monitor Sample shows this: Activity Monitor Sample Please suggest where I am doing wrong Or am I following whole process correctly. I tried to find some samples but couldn't.
Replies
1
Boosts
0
Views
947
Activity
Jun ’21