5 ### (c) 2015 Mark Wooding
8 ###----- Licensing notice ---------------------------------------------------
10 ### This file is part of the distorted.org.uk key management suite.
12 ### distorted-keys is free software; you can redistribute it and/or modify
13 ### it under the terms of the GNU General Public License as published by
14 ### the Free Software Foundation; either version 2 of the License, or
15 ### (at your option) any later version.
17 ### distorted-keys is distributed in the hope that it will be useful,
18 ### but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 ### GNU General Public License for more details.
22 ### You should have received a copy of the GNU General Public License
23 ### along with distorted-keys; if not, write to the Free Software Foundation,
24 ### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 defprops k_props <<EOF
30 : ${kprop_label=%{label\}}
35 ident=$(subst "\`identity' value" "$kprop_identity" kopt_ "$R_LINE")
36 REOP_PASSPHRASE=$(cat "$nub") \
37 reop -G -i"$ident" -s"$base/sec" -p"$base/pub"
43 reop -Gn -idistorted-keys.tmp -s$tmp/sec -p$tmp/ct
44 reop -E -s$tmp/sec -p"$base/pub" -m- -x- >>$tmp/ct
52 /^-----BEGIN REOP PUBLIC KEY-----\$/,/^-----END REOP PUBLIC KEY-----\$/ \
54 /^-----BEGIN REOP ENCRYPTED MESSAGE-----\$/,/^-----END REOP ENCRYPTED MESSAGE-----\$/ \
56 REOP_PASSPHRASE=$(cat "$nub") \
57 reop -D -s"$base/sec" -p$tmp/pub -m- -x$tmp/ct
63 REOP_PASSPHRASE=$(cat "$nub") \
64 reop -S -s"$base/sec" -m- -x-
71 reop -Vq -p"$base/pub" -m- -x$tmp/sig
74 ###----- That's all, folks --------------------------------------------------