{"action":"created","issue":{"url":"https://api.github.com/repos/OpenSC/OpenSC/issues/605","labels_url":"https://api.github.com/repos/OpenSC/OpenSC/issues/605/labels{/name}","comments_url":"https://api.github.com/repos/OpenSC/OpenSC/issues/605/comments","events_url":"https://api.github.com/repos/OpenSC/OpenSC/issues/605/events","html_url":"https://github.com/OpenSC/OpenSC/pull/605","id":116086550,"number":605,"title":"2nd try. DNIe UI moved into card-dnie.c. Handles:  Bad implementation of DNIe's UI #362","user":{"login":"germanblanco","id":3947299,"avatar_url":"https://avatars.githubusercontent.com/u/3947299?v=3","gravatar_id":"","url":"https://api.github.com/users/germanblanco","html_url":"https://github.com/germanblanco","followers_url":"https://api.github.com/users/germanblanco/followers","following_url":"https://api.github.com/users/germanblanco/following{/other_user}","gists_url":"https://api.github.com/users/germanblanco/gists{/gist_id}","starred_url":"https://api.github.com/users/germanblanco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/germanblanco/subscriptions","organizations_url":"https://api.github.com/users/germanblanco/orgs","repos_url":"https://api.github.com/users/germanblanco/repos","events_url":"https://api.github.com/users/germanblanco/events{/privacy}","received_events_url":"https://api.github.com/users/germanblanco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-10T11:16:39Z","updated_at":"2015-11-14T10:38:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OpenSC/OpenSC/pulls/605","html_url":"https://github.com/OpenSC/OpenSC/pull/605","diff_url":"https://github.com/OpenSC/OpenSC/pull/605.diff","patch_url":"https://github.com/OpenSC/OpenSC/pull/605.patch"},"body":"This change removes unused code and removes user-interface module."},"comment":{"url":"https://api.github.com/repos/OpenSC/OpenSC/issues/comments/156682299","html_url":"https://github.com/OpenSC/OpenSC/pull/605#issuecomment-156682299","issue_url":"https://api.github.com/repos/OpenSC/OpenSC/issues/605","id":156682299,"user":{"login":"CardContact","id":2071184,"avatar_url":"https://avatars.githubusercontent.com/u/2071184?v=3","gravatar_id":"","url":"https://api.github.com/users/CardContact","html_url":"https://github.com/CardContact","followers_url":"https://api.github.com/users/CardContact/followers","following_url":"https://api.github.com/users/CardContact/following{/other_user}","gists_url":"https://api.github.com/users/CardContact/gists{/gist_id}","starred_url":"https://api.github.com/users/CardContact/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CardContact/subscriptions","organizations_url":"https://api.github.com/users/CardContact/orgs","repos_url":"https://api.github.com/users/CardContact/repos","events_url":"https://api.github.com/users/CardContact/events{/privacy}","received_events_url":"https://api.github.com/users/CardContact/received_events","type":"User","site_admin":false},"created_at":"2015-11-14T10:38:07Z","updated_at":"2015-11-14T10:38:07Z","body":"Douglas is right. Generally the term NFC is little fuzzy: The original idea of NFC was to allow a close coupling between two device. Therefore industry \"reinvented\" ISO 14443, that was already in use for simple contactless chip cards (Mifare and alike). These cards/tags typically use ISO 14443 up to layer 3, but a proprietary protocol for data exchange.\r\n\r\nThe business idea was to place a chip at every billboard, so that a consumer could hold his mobile device at the chip to obtain more data for the advertised product. With much cheaper QR-Codes and a camera in the mobile phone that failed.\r\n\r\nMore sophisticated smart cards - and this is what OpenSC is all about - typically use either contact based communication as defined in ISO 7816-3 or contactless communication from ISO 14443-4. In either case they exchange APDUs, which are the famous CLA,INS,P1,P2,Lc,Data,Le sequences.\r\n\r\nThere are prominent examples for \"NFC\" like smart cards, like the German eID card or some PIV cards.\r\n\r\nA general problem of contact-less smart cards is, that eavesdropping on the contactless interface is fairly simple. An attacker can easily obtain a PIN used for authentication, unless communication between the card and the terminal is protected (e.g. by secure messaging or using a challenge/response protocol). However, secure messaging requires the establishing of keys on both sides of the communication channel, which is what protocols like PACE or ChipAuthentication can provide for. Both schemes have in common that no pre-shared keys are required at the terminal.\r\n\r\nIn particular with ChipAuthentication there are some interesting new application possible, like what we do in the CoolPACS project (www.coolpacs.org).\r\n\r\n"}}