VICC(1)
π VICC(1) π
okay so hi bestie π you just opened the manual page for vicc, aka VICC(1), and ngl you're about to have a great time. it's a Virtual Smart Card emulator written in Python and it's giving main character energy fr fr.
π NAME π
vicc β a Virtual Smart Card emulator written in Python π
β¨ SYNPSIS β¨
(not me spelling it that way β the original page really does, and I'm not about to rewrite canon π)
vicc [-h] [-t {iso7816,cryptoflex,ePass,nPA,relay,handler_test}] [-v]
[-f FILE] [-H HOSTNAME] [-P PORT] [-R] [--version] [--reader READER]
[--ef-cardaccess EF_CARDACCESS] [--ef-cardsecurity E_CARDSECURITY]
[--cvca CVCA] [--disable-ta-checks] [--ca-key CA_KEY] [-d DATASETFILE]
[--esign-cert ESIGN_CERT] [--esign-ca-cert ESIGN_CA_CERT]
π¦ DESCRIPTION π¦
okay so picture this: Virtual Smart Card 0.8 π β a smart card emulator written in Python. the emulator connects to the virtual smart card reader vpcd. and then smart card applications can access the Virtual Smart Card through the vpcd via PC/SC. that's the whole vibe. lowkey elegant, highkey useful π«Ά
πΈ OPTIONS πΈ
general options (the essentials, the bare necessities π§)
-h,--helpβ show this help message and exit. the classic escape hatch π-t {iso7816,cryptoflex,ePass,nPA,relay,handler_test},--type {iso7816,cryptoflex,ePass,nPA,relay,handler_test}β which type of smart card to emulate (default:iso7816)-v,--verboseβ stack it up! use it several times to get more and more verbose π£οΈ-f FILE,--file FILEβ load a saved smart card image-H HOSTNAME,--hostname HOSTNAMEβ specifyvpcd's host name, for whenviccshall connect to it (default:localhost)-P PORT,--port PORTβ port of connection establishment (default:35963)-R,--reversedβ use reversed connection mode.viccwill wait for an incoming connection fromvpcd(default:False)--versionβ show program's version number and exit
relaying a local smart card options (--type=relay) π‘
--reader READERβ number of the reader containing the card to be relayed (default:0)
emulation of German identity card (--type=nPA) π©πͺ
--ef-cardaccess EF_CARDACCESSβ the card'sEF.CardAccess(default: use file from first generation nPA)--ef-cardsecurity EF_CARDSECURITYβ the card'sEF.CardSecurity(default: use file from first generation nPA)--cvca CVCAβ trust anchor for verifying certificates in TA (default: use libeac's trusted certificates)--disable-ta-checksβ disable checking the validity period of CV certificates (default:False)--ca-key CA_KEYβ the chip's private key for CA (default: randomly generated, invalidates signature ofEF.CardSecurity)
β οΈ heads up bestie: the default here is a randomly generated key, and that invalidates the signature of EF.CardSecurity. not a drill π
-d DATASETFILE,--datasetfile DATASETFILEβ Load the smartcard's data groups (DGs) from the specified dataset file. For DGs not in dataset file default values are used. The data groups in the data set file must have the following syntax:
Datagroupname=Datagroupvalue
For Example: GivenNames=GERTRUD. The following Dataset Elements may be used in the dataset file:
DocumentTypeIssuingStateDateOfExpiryGivenNamesFamilyNamesReligiousArtisticNameAcademicTitleDateOfBirthPlaceOfBirthNationalitySexBirthNameCountryCityZIPStreetCommunityIDResidencePermit1ResidencePermit2dg12dg14dg15dg16dg21
--esign-cert ESIGN_CERTβ the card holder's certificate for QES--esign-ca-cert ESIGN_CA_CERTβ the CA's certificate for QES
Report bugs to <https://github.com/frankmorgner/vsmartcard/issues> πβ¨ (please do, they wanna know)
π HISTORY π
June 2020, Man page originally compiled by Philippe Thierry (philou at debian dot org) π«‘
aaaand that's the whole page bestie π this one's the VICC Man Page, part of VICC(1), compiled by Philippe Thierry, and it's from June 2020. go emulate something iconic, you've got this ππΈπ¦
π¦ where this page comes from
- debian bookworm: vsmartcard-vpicc 3.3+dfsg-2 Β· GPL-2.0-or-later
- debian trixie: vsmartcard-vpicc 3.3+dfsg-2 Β· GPL-2.0-or-later
- ubuntu jammy: vsmartcard-vpicc 3.3+dfsg-2 Β· GPL-2.0-or-later
- ubuntu noble: vsmartcard-vpicc 3.3+dfsg-2ubuntu1 Β· GPL-2.0-or-later
- ubuntu questing: vsmartcard-vpicc 3.3+dfsg-2ubuntu1
- ubuntu resolute: vsmartcard-vpicc 3.3+dfsg-2ubuntu2 Β· GPL-2.0-or-later
- ubuntu stonking: vsmartcard-vpicc 3.3+dfsg-2ubuntu2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms