openpgp-card/card-functionality/src
Heiko Schaefer e6c40be8ad
Adjusted/improved handling of public keys (especially to find the correct KDF parameters for ECC decryption keys):
- "Brute force" find the right KDF parameters in the new helper fn public_key_material_and_fp_to_key() [try possible parameters until a matching fingerprint is found, error if none].
- In `opgpcard pubkey`, use public_key_material_and_fp_to_key() to find the right parameters for the ECC decryption subkey (this subcommand now fails when the fingerprint on the card doesn't match the fingerprint of the public key data for that key slot)
- When generating OpenPGP ECC decryption keys from public key material (including to compute fingerprints from the key material), use SHA256/AES128 as default parameters.
2022-04-15 16:17:04 +02:00
..
cards.rs Make OpenPgp "Send + Sync" 2022-02-28 11:06:00 +01:00
import.rs Reformatted to conform to vanilla rustfmt. 2022-02-24 21:25:47 +01:00
keygen.rs Reformatted to conform to vanilla rustfmt. 2022-02-24 21:25:47 +01:00
lib.rs WIP: more testing in the context of on-card key generation. 2021-08-13 20:02:53 +02:00
list-cards.rs Move OpenPGP card functionality into OpenPgp/OpenPgpTransaction. 2022-02-24 21:25:47 +01:00
other.rs Add test_change_pw() and test_resetting(), both of which are still in an exploratory stage. 2021-09-09 01:06:44 +02:00
tests.rs Adjusted/improved handling of public keys (especially to find the correct KDF parameters for ECC decryption keys): 2022-04-15 16:17:04 +02:00
util.rs Move OpenPGP card functionality into OpenPgp/OpenPgpTransaction. 2022-02-24 21:25:47 +01:00