From 6da76c071f99163e16f3f59dabed3d2490ec9881 Mon Sep 17 00:00:00 2001 Message-Id: <6da76c071f99163e16f3f59dabed3d2490ec9881.1714002522.git.mdw@distorted.org.uk> From: Mark Wooding Date: Wed, 15 Feb 2012 00:49:26 +0000 Subject: [PATCH] cryptop.public: New operation to export a key with its properties. Organization: Straylight/Edgeware From: Mark Wooding This form will be useful soon. --- cryptop.public | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) 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 -------------------------------------------------- -- [mdw]