From: Mark Wooding Date: Wed, 15 Feb 2012 00:49:26 +0000 (+0000) Subject: cryptop.public: New operation to export a key with its properties. X-Git-Tag: 0.99.2~28 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/distorted-keys/commitdiff_plain/6da76c071f99163e16f3f59dabed3d2490ec9881 cryptop.public: New operation to export a key with its properties. This form will be useful soon. --- diff --git a/cryptop.public b/cryptop.public index 27fde4b..4d57ee5 100755 --- a/cryptop.public +++ b/cryptop.public @@ -28,20 +28,37 @@ case "${KEYSLIB+t}" in t) ;; *) echo >&2 "$0: KEYSLIB unset"; exit 1 ;; esac . "$KEYSLIB"/keyfunc.sh defhelp <&2 "$quis: \`$key' has no public part" exit 1 fi +case $exportp in + t) + prepare "$key" info + dumpprops kprop_ + echo ENDPROP + ;; +esac +cat $kdir/pub ###----- That's all, folks --------------------------------------------------