Displaying 1 result from an estimated 1 matches for "received_file".
Did you mean:
receive_file
2010 Oct 04
1
Metropolis: Implementation of Interlock Protocol using Linux Shell Programming, OpenSSH, and GPG
...echo "Press Enter to Process Received Files.. "
echo "Merging two files into one"
cat $2/received00 $2/received01 >> ./received.gpg
rm $2/received00 $2/received01
#Decrypting file
echo "Decrypting outfile with Private Key"
gpg -o Received_file -d received.gpg
trap "gpg -o Received_file -d received.gpg " 1 2
rm received.gpg
if [ -e "Received_file" ]
then echo "Process Complete..Now you have Received_file"
else echo "Decryption failed !!"
echo "Program exit now."
echo...