aboutsummaryrefslogtreecommitdiffstats
path: root/g10/card-util.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2006-01-01 17:48:54 +0000
committerDavid Shaw <[email protected]>2006-01-01 17:48:54 +0000
commitcbc5c947d59b23f6e0ce9862c19bb5ff3d0cb606 (patch)
tree5303409d32e410d7e73a9ea069ecd382ae943312 /g10/card-util.c
parent* cert.c (get_cert): Properly chase down CNAMEs pointing to CERTs. (diff)
downloadgnupg-cbc5c947d59b23f6e0ce9862c19bb5ff3d0cb606.tar.gz
gnupg-cbc5c947d59b23f6e0ce9862c19bb5ff3d0cb606.zip
* sign.c (hash_for): Add code to detect if the sk lives on a smart
card. If it does, only allow 160-bit hashes, a la DSA. This involves passing the *sk in, so change all callers. This is correct for today, given the current 160-bit q in DSA, and the current SHA-1/RIPEMD160 support in the openpgp card. It will almost certainly need changing down the road. * app-openpgp.c (do_sign): Give user error if hash algorithm is not supported by the card.
Diffstat (limited to 'g10/card-util.c')
0 files changed, 0 insertions, 0 deletions