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

Indent with tabs instead of spaces #826

Closed
wants to merge 41 commits into from

Conversation

frankmorgner
Copy link
Member

Partially fixes #823

nunojpg and others added 30 commits June 21, 2016 13:15
Signed-off-by: Nuno Goncalves <[email protected]>
Only one DO is supported now.
- used for the pin command SC_PIN_CMD_GET_INFO
- implemented in accordance to ISO 7816-4; all other implementations
  are currently set to an unknown login state
... as defined by
- BSI TR-03110
- ICAO Doc 9303
- ISO/IEC 7501

Imported libsceac from https://github.com/frankmorgner/vsmartcard/
As defined in BSI TR-03119 to issue SCardTransmit (with Uses
Pseudo-APDU) instead of SCardControl (with FEATURE_VERIFY_PIN_DIRECT).
It allows using a very basic PC/SC reader driver without special support
for PIN verification or modification (such as the default CCID driver on
Windows).

Imported from https://github.com/frankmorgner/vsmartcard
avoids exception on Windows
fixes segmentation fault on Windows
... where getline and gettimeofday are not available
TrueCrypt/VeraCrypt support in OpenPGP
Add Support for electronic signature with German ID card

The German ID card has two applications, eID and eSign. Whereas only the eSign application has a key that is associated with an X.509 user certificate (for signature). This PR adds support for the eSign application.

Typically eSign can only be performed with a reader that encompasses a Signature Terminal Certificate for performing EAC with the card. If someone happens to have such a key/certificate on the disk, we can perform EAC in Software using OpenPACE. Note, that the OpenPACE is not required when using a Comfort Reader (which is a Signature Terminal).

The card driver for the German ID card is written as external card driver for two reasons. First, this is what was imported from https://github.com/frankmorgner/vsmartcard/tree/master/npa. Second, it can be used as example implementation, which has been requested earlier from OpenSC.

The convenience libraries for EAC and for SM according to ISO 7816-8 are written according to their standards and may be used for different cards in the future. Also the boxing commands to execute PIN verification on a reader's PIN pad are not strictly bound the the German ID card, but can be used by any reader/middleware.
frankmorgner and others added 4 commits July 9, 2016 23:05
pkcs11-tool: use CKF_USER_PIN_* flags to provide alerts to the user
Add check_state functions for PKCS#11 C_GetSessionInfo
VTA: cosmetic touch and rebase to one commit
close PR OpenSC#801
@frankmorgner
Copy link
Member Author

@viktorTarasov added 6587cc0 to comply with #823 (comment)

@viktorTarasov
Copy link
Member

As far as I see, the boxing includes the pace methods,
and pace, in it's turn, makes a part of mrtd project.

Why to not use mrtd prefix for the all npa, pace, sceac sources?

@frankmorgner
Copy link
Member Author

see #831 instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Building with seperate SOURCE and BUILD directories npa-tool.ggo issues
5 participants