Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Initial CCID support #3048

Merged
merged 6 commits into from
Sep 21, 2023
Merged

Add Initial CCID support #3048

merged 6 commits into from
Sep 21, 2023

Conversation

kidbomb
Copy link
Contributor

@kidbomb kidbomb commented Sep 7, 2023

What's new

Adds a new CCID (Smartcard) subsystem, along with a test app

Verification

On Linux:

  • Add a new VID/PID pair in /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist. The one from the ccid_test app is VID=0x1234 and PID=0x5678
  • Build ccid_test FAP and install.
  • Run "sudo pcscd --foreground --debug"
  • Open ccid_test app
  • On pcscd logs you should see the following line:
Card ATR: 3B 00
  • Then, run the following command:
opensc-tool --send-apdu 01:02:03:04

You should see the following result:

Sending: 01 02 03 04 
Received (SW1=0x6E, SW2=0x00)

Checklist (For Reviewer)

  • PR has description of feature/bug or link to Confluence/Jira task
  • Description contains actions to verify feature/bugfix
  • I've built this code, uploaded it to the device and verified feature/bugfix

@skotopes skotopes added the USB BadUSB + physical USB interface label Sep 8, 2023
@skotopes skotopes merged commit a089aeb into flipperdevices:dev Sep 21, 2023
8 of 9 checks passed
@hedger hedger added the New Feature Contains an IMPLEMENTATION of a new feature label Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Feature Contains an IMPLEMENTATION of a new feature USB BadUSB + physical USB interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants