Commit graph

284 commits

Author SHA1 Message Date
Heiko Schaefer
27697cb2c5
add rustfmt.toml and set group_imports = "StdExternalCrate" 2022-11-03 14:32:00 +01:00
Heiko Schaefer
535c9e6e0a
openpgp-card: add algorithm to PublicKeyMaterial Display for EccPub 2022-10-31 12:39:06 +01:00
Heiko Schaefer
819f213ec4
openpgp-card: bump version to 0.3.3 2022-10-28 16:21:54 +02:00
Heiko Schaefer
87c62840d5
openpgp-card: add getters for attestation key metadata 2022-10-28 10:17:45 +02:00
Heiko Schaefer
4181c2d66c
Clean up error handing for unexpected length of 'Digital signature counter' DO 2022-10-17 15:15:11 +02:00
Heiko Schaefer
4dfaadc5ad
Release openpgp-card 0.3.2 2022-10-01 15:39:08 +02:00
Sosthène Guédon
3ca6a514f4
openpgp-card: Add manage security environment command 2022-09-30 14:24:39 +02:00
Heiko Schaefer
c96377c9df
OpenPGP owns CardBackend (instead of holding a &mut CardBackend).
When OpenPgp holds a &mut CardBackend, clients of this library need to keep track of the CardBackend (which adds unnecessary complexity).
2022-09-28 20:42:27 +02:00
Heiko Schaefer
3ccfff42a9
Doc syntax 2022-09-28 20:37:09 +02:00
Heiko Schaefer
8e6f03a2c5
Fix new clippy lints. 2022-08-30 19:19:25 +02:00
Heiko Schaefer
0f50eda297
Add some notes about the 'cardholder certificate' feature. 2022-08-30 17:49:59 +02:00
Heiko Schaefer
202b0ef5ce
Uniformly use 'YubiKey' styling. 2022-07-26 09:43:27 +02:00
Heiko Schaefer
6267451652
Clippy: avoid extra heap allocation. 2022-07-16 14:24:49 +02:00
Heiko Schaefer
f9ed6c30c0
Clippy: don't bind unit values. 2022-07-16 14:24:49 +02:00
Heiko Schaefer
f93d7bbb30
Bump versions 2022-06-22 21:58:51 +02:00
Heiko Schaefer
141fe3d136
Derive Hash for KeyType 2022-06-19 14:53:15 +02:00
Heiko Schaefer
f393d54092
Make enums Clone and Copy 2022-06-11 21:47:47 +02:00
Heiko Schaefer
6d52835efa
Adjust paths for move to gitlab group 'openpgp-card'. 2022-06-11 21:46:32 +02:00
Heiko Schaefer
febf960b39
Bump versions 2022-06-11 10:03:52 +02:00
Heiko Schaefer
e9bac43cad
Implement touch_required() for TouchPolicy 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
b90ee05f6d
Implement set_pso_enc_dec_key() 2022-05-28 19:41:54 +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
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
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
f83e26f213
Minor additions to documentation 2022-05-13 19:14:41 +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
3df649d149
Release: openpgp-card 0.2.4, openpgp-card-tools 0.0.9 2022-04-23 21:23:53 +02:00
Heiko Schaefer
9e24e1b19a
Sort PUT DO fn to correspond with the order in spec (ch 4.4.2) 2022-04-23 21:20:59 +02:00
Heiko Schaefer
86e703cbb0
Implement KeyInformation 2022-04-23 21:20:59 +02:00
Heiko Schaefer
67e9f9b9a0
Implement CA Fingerprints 2022-04-23 21:20:59 +02:00
Heiko Schaefer
20ebac295d
Implement User Interaction Flag (UIF) 2022-04-23 21:20:59 +02:00
Heiko Schaefer
c4572de046
Move missing/unimplemented ARD getters from OpenPgpTransaction into ApplicationRelatedData 2022-04-23 21:20:59 +02:00
Heiko Schaefer
fee95b6b36
Update to nom 7 2022-04-21 17:59:39 +02:00
Heiko Schaefer
af3fd437ed
Bump openpgp-card to 0.2.3 (and use in openpgp-card-tools) 2022-04-15 17:52:56 +02:00