### it under the terms of the GNU General Public License as published by
### the Free Software Foundation; either version 2 of the License, or
### (at your option) any later version.
###
### it under the terms of the GNU General Public License as published by
### the Free Software Foundation; either version 2 of the License, or
### (at your option) any later version.
###
### but WITHOUT ANY WARRANTY; without even the implied warranty of
### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
### GNU General Public License for more details.
###
### You should have received a copy of the GNU General Public License
### but WITHOUT ANY WARRANTY; without even the implied warranty of
### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
### GNU General Public License for more details.
###
### You should have received a copy of the GNU General Public License
### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
set -e
### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
set -e
esac
checkword "keeper set label" "$keeper"
## Grab the key, because we'll need to read it several times.
tmp=$(mktmp); cleanup rmtmp
esac
checkword "keeper set label" "$keeper"
## Grab the key, because we'll need to read it several times.
tmp=$(mktmp); cleanup rmtmp
- cat $KEYS/recov/$recov/$keeper.param share.* | shamir recover >secret
- pubx=$(ec_public secret)
+ cat $KEYS/recov/$recov/$keeper.param $keeper.* >$keeper.shares
+ shamir recover <$keeper.shares >secret.new
+ pubx=$(ec_public secret.new)