Post not yet marked as solved
Good morning,
I have a problem when packaging the application, the CTK (crypto token kit) is not detected by the system. If I compile in debug, it works perfectly. That could be happening?
Thanks greetings
Post not yet marked as solved
Buenas tardes,
I have a problem with a control inside an nsalert from a thread calling it on the main thread. Everything works fine but the textfield does not respond, you write or delete and it has no response.
dispatch_sync(dispatch_get_main_queue(), ^{
NSAlert *alert = [[NSAlert alloc] init];
[alert setMessageText:@"Enter PIN"];
[alert addButtonWithTitle:@"OK"];
[alert addButtonWithTitle:@"Cancel"];
NSSecureTextField *input = [[NSSecureTextField alloc] initWithFrame:NSMakeRect(0, 0, 200, 24)];
[input setStringValue:@""];
[alertsetAccessoryView:input];
[inputsetEditable:true];
NSInteger button = [alert runModal];
if (button == NSAlertFirstButtonReturn) {
self.pin = [input stringValue];
[self.wait signal];
}else if (button == NSAlertSecondButtonReturn) {
[Utils Log:@"Pin canceled!"];
[alert.window close];
[self.wait signal];
}
});
If I try to create an NSWindow, it comes out as disabled and the controls can't be used either.
Thanks greetings
Post not yet marked as solved
Good afternoon,
I have developed a persistent token extension with xcode. I have loaded the certificates with the application inside the token. The system recognizes my token and the smart card is activated, but at no time when I try to authenticate on a website, does it enter any function of the persistent token app (tokensession, signdata, etc..). I need to do the signature in an external HSM, I understood that it would fall within these functions when something needed to be done with a certificate that is inside the smartcard.
Thanks greetings.