Commit graph

5 commits

Author SHA1 Message Date
Heiko Schaefer
8b9e921db7
Adjust README and subplot test to fix previously wrong application ID format. 2023-03-06 14:41:54 +01:00
Nora Widdecke
09c554affd
opgpcard: Test key use.
- Add tests for all four combinations of key generation and import,
    and signing and decrypting.
2022-10-28 09:45:27 +02:00
Nora Widdecke
dfb7f3275d
opgpcard: Replace flagfile with environment variable
- A flagfile requires manual management with touch and rm, replace it
    with an environment variable that can be set more conveniently.

  - Removing tools/tests/opgpcard.rs is not necessary, the file it links
    to is always generated in build.rs, either with subplot tests or
    without. But it is always there, so cargo test does not fail for
    that reason.
2022-10-27 15:46:42 +02:00
Heiko Schaefer
fff5b18310
opgpcard: adjust handling of card_service_data 2022-10-25 10:37:37 +02:00
Lars Wirzenius
dd02a29497 add integration/acceptance test with Subplot
These need to be run with the virtual smartcard emulation in the
Docker container specified in .gitlab-ci.yml for tests.

The tests are a little simplistic, as it turned out that making
changes to the smart card results in flaky tests. Thus only parts of
opgpcard that don't change the card are tested.

Sponsored-by: NLnet Foundation; NGI Assure
2022-10-24 20:30:14 +03:00