logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

vicc - a Virtual Smart Card emulator written in Python

Description

       Virtual Smart Card 0.8: Smart card emulator written in Python. The emulator connects to the virtual smart
       card reader reader (vpcd). Smart card applications can access the Virtual Smart Card through the vpcd via
       PC/SC.

General Options:

-h,--help
         show this help message and exit

       -t{iso7816,cryptoflex,ePass,nPA,relay,handler_test},--type{iso7816,cryptoflex,ePass,nPA,relay,handler_test}
         type of smart card to emulate (default: iso7816)

       -v,--verbose
         Use (several times) to be more verbose

       -fFILE,--fileFILE
         load a saved smart card image

       -HHOSTNAME,--hostnameHOSTNAME
         specify vpcd's host name if vicc shall connect to it. (default: localhost)

       -PPORT,--portPORT
         port of connection establishment (default: 35963)

       -R,--reversed
         use reversed connection mode. vicc will wait for an incoming connection from vpcd. (default: False)

       --version
         show program's version number and exit

Relayingalocalsmartcardoptions(--type=relay):
       --readerREADER
         number of the reader containing the card to be relayed (default: 0)

       ## Emulation of German identity card (--type=nPA):

       --ef-cardaccessEF_CARDACCESS
         the card's EF.CardAccess (default: use file from first generation nPA)

       --ef-cardsecurityEF_CARDSECURITY
         the card's EF.CardSecurity (default: use file from first generation nPA)

       --cvcaCVCA
         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-keyCA_KEY
         the chip's private key for CA (default: randomly generated, invalidates signature of EF.CardSecurity)

       -dDATASETFILE,--datasetfileDATASETFILE
         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:
          * DocumentType
          * IssuingState
          * DateOfExpiry
          * GivenNames
          * FamilyNames
          * ReligiousArtisticName
          * AcademicTitle
          * DateOfBirth
          * PlaceOfBirth
          *  Nationality
          * Sex
          * BirthName
          * Country
          * City
          * ZIP
          * Street
          * CommunityID
          * ResidencePermit1
          * ResidencePermit2
          * dg12
          * dg14
          * dg15
          * dg16
          * dg21.

       --esign-certESIGN_CERT
         the card holder's certificate for QES

       --esign-ca-certESIGN_CA_CERT
         the CA's certificate for QES

       Report bugs to ⟨https://github.com/frankmorgner/vsmartcard/issues⟩

History

       June 2020, Man page originally compiled by Philippe Thierry (philou at debian dot org)

Philippe Thierry                                  VICC Man Page                                          VICC(1)

Name

       vicc - a Virtual Smart Card emulator written in Python

Options

Synpsis

vicc[-h][-t{iso7816,cryptoflex,ePass,nPA,relay,handler_test}][-v][-fFILE][-HHOSTNAME][-PPORT][-R][--version][--readerREADER][--ef-cardaccessEF_CARDACCESS][--ef-cardsecurityE_CARDSECURITY][--cvcaCVCA][--disable-ta-checks][--ca-keyCA_KEY][-dDATASETFILE][--esign-certESIGN_CERT][--esign-ca-certESIGN_CA_CERT]

See Also