Heiko Schaefer
d96e56651b
Add callback Fn for touch confirmation prompt to generate attestations.
2022-06-11 09:55:06 +02:00
Heiko Schaefer
374f9eec89
Add callback Fn for touch confirmation prompt for decryption operations.
2022-06-11 09:55:06 +02:00
Heiko Schaefer
079cc32427
Add callback Fn for touch confirmation prompt for signing operations.
2022-06-11 09:55:05 +02:00
Heiko Schaefer
ccba7c7e9f
Rename 'prompt' parameters to 'pinpad_prompt'.
2022-06-11 09:55:04 +02:00
Heiko Schaefer
e9bac43cad
Implement touch_required() for TouchPolicy
2022-06-11 09:55:03 +02:00
Heiko Schaefer
f9d69dbefb
Implement 'opgpcard admin touch' to set the touch confirmation policy.
2022-06-11 09:55:03 +02:00
Heiko Schaefer
bc58a346c2
Implement set_uif()
2022-06-11 09:55:03 +02:00
Heiko Schaefer
b45226dbe6
Add Error::UnsupportedFeature
2022-06-11 09:55:03 +02:00
Heiko Schaefer
ce03cc7e70
Implement set_uif_attestation()
2022-06-11 09:55:03 +02:00
Heiko Schaefer
15d457864c
Reorganize 'status' output format
2022-06-11 09:55:03 +02:00
Heiko Schaefer
2c666c6857
Adjust virtual SmartPGP and FluffyPGP identities to align with changes in openpgp-card-images
2022-05-29 14:34:31 +02:00
Heiko Schaefer
b90ee05f6d
Implement set_pso_enc_dec_key()
2022-05-28 19:41:54 +02:00
Heiko
c205917759
Add LICENSE
2022-05-25 15:29:33 +00:00
Heiko Schaefer
0694e084e4
Add comment about verifying the admin PIN before attempting a PIN-change (and a link to a yubico developer blog article detailing a potential pitfall of *not* doing that check)
2022-05-24 18:33:46 +02:00
Heiko Schaefer
cd40e2bae4
Bump versions:
...
- openpgp-card 0.2.5
- openpgp-card-sequoia 0.0.12
- openpgp-tools 0.0.10
2022-05-24 16:20:59 +02:00
Heiko Schaefer
ff1ef2a316
Add documentation for attestation functionality.
2022-05-24 16:20:59 +02:00
Heiko Schaefer
26f1af2bd3
Use select_data() in AttCommand::Show
2022-05-24 16:20:59 +02:00
Heiko Schaefer
22c29262d3
Implement attestation-related functionality in opgpcard
2022-05-24 16:20:59 +02:00
Heiko Schaefer
7b3152a88e
Add a note that the openpgp-card-sequoia API is an early draft (and subject to change).
2022-05-24 16:20:58 +02:00
Heiko Schaefer
432edd5a3e
Add workaround for select_data() on older Yubikey5 firmware versions.
...
(This breaks API compatibility, but select_data() was so far not used in any published crate)
2022-05-24 14:45:25 +02:00
Heiko Schaefer
0885cb0ac9
Add cardholder_certificate()
2022-05-24 14:45:25 +02:00
Heiko Schaefer
14143ee182
Implement next_cardholder_certificate() to read successive cardholder certificates from the card.
2022-05-24 14:45:24 +02:00
Heiko Schaefer
abd61d5a15
Implement generate_attestation()
2022-05-24 14:45:24 +02:00
Heiko Schaefer
6fad597637
Implement attestation_certificate()
2022-05-24 14:45:24 +02:00
Heiko Schaefer
169e338360
Implement control_reference_template() for attestation key.
...
This should enable key import and generation for attestation keys.
2022-05-24 14:45:24 +02:00
Heiko Schaefer
edbb94c433
Edit comments
2022-05-24 14:45:23 +02:00
Heiko Schaefer
a1966d76c3
Add more information about YubiKey touch policy support (from ykman/openpgp.py
).
2022-05-20 10:16:04 +02:00
Heiko Schaefer
c3abf4ba9c
Move virtual card CI test configs to card-functionality/ci/ (where configurations for tests on hardware cards already were).
2022-05-19 18:02:37 +02:00
Heiko Schaefer
5a5ae255b5
Document Dockerfile.hardware-builddeps usage
2022-05-19 18:02:36 +02:00
Heiko Schaefer
77822e716d
Redirect output of jCardSim to /dev/null, to keep its debug output out of the CI log.
...
The virtual card images used to do this kind of redirect. Now the consumer of the images needs to decide if they want to see virtual card debug output. We don't want to see it, by default.
2022-05-19 18:02:10 +02:00
Heiko Schaefer
7322e44efc
Run opgpcard status
and opgpcard info
before virtual card tests.
2022-05-19 18:02:09 +02:00
Heiko Schaefer
13edd290ef
Add FluffyPGP to CI tests
2022-05-13 23:05:04 +02:00
Heiko Schaefer
f83e26f213
Minor additions to documentation
2022-05-13 19:14:41 +02:00
Heiko Schaefer
f72c9687d9
Adjust documentation: functionality of opgpcard-pin has been folded into opgpcard.
2022-05-13 19:14:07 +02:00
Heiko Schaefer
633d25489e
Fix link-syntax in docs
2022-05-06 11:46:36 +02:00
Heiko Schaefer
92b7043373
Move OID constants into a separate module.
2022-05-04 16:14:22 +02:00
Heiko Schaefer
e49d0bd19b
Replace hard coded tag value for Rsa and Ecc params with Tags.
2022-05-04 14:25:32 +02:00
Heiko Schaefer
861a051ff5
Add ShortTag type to model tags that are guaranteed to be 1 or 2 bytes long.
2022-05-04 11:43:56 +02:00
Heiko Schaefer
7854a40b5b
Replace hard coded tag values with Tags enum.
...
Fixes #12
2022-05-04 11:43:39 +02:00
Heiko Schaefer
46d9a2dad9
Cleanup
2022-05-04 11:43:14 +02:00
Heiko Schaefer
b668aebaba
KeyGenerationTime: remove formatted(); add to_datetime(); implement Display.
2022-05-01 21:36:06 +02:00
Heiko Schaefer
02b42081b9
Implement Display for CardholderRelatedData
2022-05-01 21:36:06 +02:00
Heiko Schaefer
db9c6e120f
Add UndefinedValue(u8) to Sex struct; implement Display
2022-05-01 21:36:06 +02:00
Heiko Schaefer
c4b2de2b0c
Edit comments
2022-05-01 21:36:06 +02:00
Heiko Schaefer
87c848f1a4
Document that opgpcard needs pcscd; troubleshooting cards being locked by scdaemon.
2022-04-27 13:11:40 +02:00
Heiko Schaefer
9aa46adffb
remove disable_help_subcommand
2022-04-26 14:41:20 +02:00
Heiko Schaefer
195eb4b243
Make CI cache config explicit for all jobs; disable cache for all jobs that don't build Rust code.
2022-04-26 14:00:03 +02:00
Heiko Schaefer
f7e4aa74d9
Add ssh-auth chapter to user guide
2022-04-26 10:14:40 +02:00
Heiko Schaefer
a75cb25ab3
Edits to user guide
2022-04-26 10:14:19 +02:00
Heiko Schaefer
3df649d149
Release: openpgp-card 0.2.4, openpgp-card-tools 0.0.9
2022-04-23 21:23:53 +02:00