- "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.
24 lines
795 B
TOML
24 lines
795 B
TOML
# SPDX-FileCopyrightText: 2021-2022 Heiko Schaefer <heiko@schaefer.name>
|
|
# SPDX-License-Identifier: MIT OR Apache-2.0
|
|
|
|
[package]
|
|
name = "openpgp-card-tools"
|
|
description = "CLI tools for OpenPGP cards"
|
|
license = "MIT OR Apache-2.0"
|
|
version = "0.0.7"
|
|
authors = ["Heiko Schaefer <heiko@schaefer.name>"]
|
|
edition = "2018"
|
|
repository = "https://gitlab.com/hkos/openpgp-card"
|
|
documentation = "https://docs.rs/crate/openpgp-card-tools"
|
|
|
|
[dependencies]
|
|
sequoia-openpgp = "1.3"
|
|
openpgp-card = { path = "../openpgp-card", version = "0.2" }
|
|
openpgp-card-pcsc = { path = "../pcsc", version = "0.2" }
|
|
openpgp-card-sequoia = { path = "../openpgp-card-sequoia", version = "0.0.10" }
|
|
sshkeys = "0.3.2"
|
|
rpassword = "5"
|
|
anyhow = "1"
|
|
clap = { version = "3.1", features = ["derive"] }
|
|
env_logger = "0.9"
|
|
log = "0.4"
|