| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		bladoxfan
 
 
  Joined: 08 Dec 2007 Posts: 10
 
  | 
		
			
				 Posted: Mon Mar 03, 2008 3:53 pm    Post subject: PIN-Request | 
				     | 
			 
			
				
  | 
			 
			
				Hi
 
Is it possible to log the pin-request, similar to the turbo-pin method where it resets when the turbopin is entered? | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		pz Guest
 
 
 
 
 
  | 
		
			
				 Posted: Tue Mar 11, 2008 3:43 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				| Right now there is no jook for CMD_VERIFY_CHV but we can implement it if there will be interest. We haven't seen much use of it, what do you want to do? | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		bladoxfan
 
 
  Joined: 08 Dec 2007 Posts: 10
 
  | 
		
			
				 Posted: Fri Mar 14, 2008 12:26 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				Hi!
 
Let me try to explain:
 
All of my employees will get TurboSIMs. But I do not want them to use their SIM-Cards without the TurboSIMs.
 
So I would provide them with a spezial PIN-Code.
 
 
When this PIN-Code is entered the TurboSIM checks if it is vailid internly and then passes a memory stored pincode to the SIM-Card and unlocks it.
 
 
I dont know if this is possible, but it would be great   | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		pz Guest
 
 
 
 
 
  | 
		
			
				 Posted: Tue Mar 25, 2008 11:06 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				| Such an application makes sense, we will try to implement needed API/hooks. | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		bladoxfan
 
 
  Joined: 08 Dec 2007 Posts: 10
 
  | 
		
			
				 Posted: Tue Mar 25, 2008 1:05 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				| great, thanks! | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		bladoxfan
 
 
  Joined: 08 Dec 2007 Posts: 10
 
  | 
		
			
				 Posted: Sat Jun 14, 2008 1:17 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				| any news? | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		pz Guest
 
 
 
 
 
  | 
		
			
				 Posted: Thu Jun 26, 2008 8:21 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				| Hopefully soon with many news, it hasn't been forgotten. | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		bladoxguy
 
 
  Joined: 10 Nov 2009 Posts: 2
 
  | 
		
			
				 Posted: Tue Nov 10, 2009 7:26 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				Hi,
 
 
Has there been any update to this capability?
 
 
Thanks | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		pz Guest
 
 
 
 
 
  | 
		
			
				 Posted: Thu Dec 03, 2009 2:26 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				 	  | bladoxguy wrote: | 	 		  Hi,
 
 
Has there been any update to this capability?
 
 
Thanks | 	  
 
 
It's in kernel >=1.3.25. | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		bladoxguy
 
 
  Joined: 10 Nov 2009 Posts: 2
 
  | 
		
			
				 Posted: Thu Dec 10, 2009 2:22 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				Thank you.
 
Is there documentation on how to do this?
 
 
B | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		pz Guest
 
 
 
 
 
  | 
		
			
				 Posted: Wed Dec 16, 2009 3:41 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				You got it by email but not leaving this topic open:
 
 
(this example assumes SIM PIN is 1111)
 
 
 	  | Code: | 	 		  
 
void turbo_handler (u8 action, void *data)
 
{
 
  switch (action)
 
  {
 
    case ACTION_APP_REGISTER:
 
        set_proc_8 (PROC_8_CONFIG_INIT_BOOSTER, 1);
 
      break;
 
 
    case ACTION_APP_INIT:
 
      reg_action (ACTION_VERIFY);
 
      break;
 
 
    case ACTION_VERIFY:
 
      {
 
        File_apdu_data *fa = data;
 
        u8 *buf = fa->data;
 
        u8 i;
 
        dbsp ("MY_VERIFY: ");
 
        for (i = 0; i < 8; i++)
 
        {
 
          dbch (buf[i]);
 
          dbc (' ');
 
          buf[i] = 0xff;
 
        }
 
        dbc ('\n');
 
        buf[0] = buf[1] = buf[2] = buf[3] = '1';
 
 
        retval (sim (ME_CMD_VERIFY_CHV, fa->p1, fa->p2, fa->p3, buf));
 
      }
 
      break;
 
 
    default:
 
      break;
 
  }
 
}
 
 
 | 	 
  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		 |