Hello, Martin Paljak wrote: > What is the SET_PIN option supposed to do? > Verify the first PIN and then set another PIN value to the second entry? >
Yes. For IAS/ECC and 'AuthentIC v3' cards PIN unlocking is protected by another 'PIN' object. > On Jul 27, 2010, at 3:41 PM, [email protected] wrote: > >> + case SC_PIN_CMD_SET: >> + ins = 0x2C; >> + p1 = 0x02; >> + if (data->pin2.len != 0 || use_pin_pad) { >> + if ((r = sc_build_pin(buf, buf_len, &data->pin2, pad)) >> < 0) >> + return r; >> + len += r; >> + } >> + break; >> > > > -- Viktor Tarasov <[email protected]> _______________________________________________ opensc-devel mailing list [email protected] http://www.opensc-project.org/mailman/listinfo/opensc-devel
