Article View: sci.crypt
Article #1952ripr - sh script to pipe ripem-encrypted files to in elm
From: Peter K. Boucher
Date: Thu, 19 Nov 1992 21:49
Date: Thu, 19 Nov 1992 21:49
30 lines
1289 bytes
1289 bytes
------------- clip clip -----------------------
#!/bin/sh
# ripr [output_plaintext_file_name] < encrypted_file_name
# Decrypts and saves a RIPEM-encrypted file (from stdin) - pipe to this from ELM.
# Edit the following variables to reflect your situation before using this script.
ripem="$HOME/bin/src/ripem/main/ripem"
pubkeys="$HOME/bin/src/ripem/main/pubkey.ripem"
seckeys="$HOME/bin/src/ripem/main/seckey.ripem"
user_id='boucher@csl.sri.com'
tmp_crp="$HOME/bin/r_${$}.crp"
if [ -n "$1" ]
then
tmp_crp="$1"
fi
if $ripem -d -u $user_id -p $pubkeys -s $seckeys > $tmp_crp
then
echo "Plaintext saved in $tmp_crp"
else
echo "$ripem -d -u $user_id -p $pubkeys -s $seckeys > $tmp_crp"
echo "RIPEM failed: can not decrypt file"
fi
sleep 3
------------- clip clip -----------------------
--
Peter K. Boucher
--
RIPEM public key available upon request.
Technical Details
Message-ID:
<1eh24rINN6bs@roche.csl.sri.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!nntp1.radiomail.net!csl.sri.com!boucherShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!nntp1.radiomail.net!csl.sri.com!boucher From: boucher@csl.sri.com (Peter K. Boucher) Newsgroups: sci.crypt Subject: ripr - sh script to pipe ripem-encrypted files to in elm Date: 19 Nov 1992 21:49:15 GMT Organization: Computer Science Lab, SRI International Lines: 30 Distribution: world Message-ID: <1eh24rINN6bs@roche.csl.sri.com> NNTP-Posting-Host: affirmed.csl.sri.com