Hi all,

I'm wondering why does pkcs15-tool read an object with no auth_id by  
default. The code is this:

         printf("Path:            %s\n", sc_print_path(&cinfo->path));
         printf("Auth ID:         %s\n", sc_pkcs15_print_id(&objs[i]- 
 >auth_id));
         if (objs[i]->auth_id.len == 0) {
             struct sc_pkcs15_data *data_object;
             r = sc_pkcs15_read_data_object(p15card, cinfo,  
&data_object);

This behavior can be somewhat "annoying" when we have large objects  
with no associated auth_id (as is the case with Portuguese eID card).  
Would it be ok if we changed it? Is there any particular reason with  
it must be like this?

Thanks.

João
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to