From: Peter P. <pop...@gm...> - 2016-12-14 12:10:47
|
Hi I'd like to propose one minor adjustment. If opensc-explorer does not know the type of file, it writes "???" on output. For example: OpenSC [3F00/5015]> ls FileID Type Size 4402 wEF 1512 5031 wEF 252 4404 wEF 1512 4403 wEF 1512 4405 wEF 756 4406 wEF 1512 4401 wEF 252 5032 wEF 64 4946 wEF 128 4B01 ??? 192 5501 wEF 75 4301 wEF 524 4B02 ??? 256 5502 wEF 91 4302 wEF 558 4B03 ??? 256 5503 wEF 88 4303 wEF 553 4B04 ??? 384 5504 wEF 120 4304 wEF 618 It would be better to write here hexadecimal value of file type. Similar arrangements could improve the output of the command "info": OpenSC [3F00/5015]> info 4b03 Unknown File ID 4B03 File path: 3F00/5015/4B03 File size: 256 bytes EF structure: Linear fixed, SIMPLE-TLV ACL for READ: N/A ACL for UPDATE: CHV1 ACL for DELETE: CHV1 ACL for WRITE: N/A ACL for REHABILITATE: N/A ACL for INVALIDATE: N/A ACL for LIST FILES: N/A ACL for CRYPTO: CHV1 Proprietary attributes: 01 00 Security attributes: 11 11 FF Here "Unknown File" should contain hexadecimal code of file type too. Peter |