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 documentation for dangerous-real-card-test #108

Merged
merged 1 commit into from
Feb 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,18 @@ features for a first stable release.

Check out the [user guide](USAGE.md) for more information on what can be done.

## Development

Opcard uses [virtualsmartcard](https://frankmorgner.github.io/vsmartcard/) for testing.
`make test` will run `opcard` on the host through virtualsmartcard and test it.

`make dangerous-real-card-test` will instead run the tests against a real card.
The vendor id and serial numbers can be configured with variables:

```
make dangerous-real-card-test OPCARD_DANGEROUS_TEST_CARD_VENDOR="0000" OPCARD_DANGEROUS_TEST_CARD_SERIAL="000000" OPCARD_DANGEROUS_TEST_CARD_NAME="test card"
```

## Installation

Currently only available for the Nitrokey 3A Mini.
Expand Down