fork just to be able to propose change in original repo https://git.disroot.org/anonymoose/ZeroNet_OnionV3
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

12 lines
483 B

#!/bin/bash
if [ -d $PWD/../src/ ]
then
sed -i '/from Crypt import CryptEd25519/d' $PWD/../src/Tor/TorManager.py
sed -i '/from Crypt import CryptEd25519/d' $PWD/../plugins/AnnounceZero/AnnounceZeroPlugin.py
sed -i 's/ED25519-V3/RSA1024/g' $PWD/../src/Tor/TorManager.py
cp $PWD/backup_file/CryptRsa.py $PWD/../src/Crypt/CryptRsa.py
rm $PWD/../src/Crypt/CryptEd25519.py
echo "Good, all restored!"
else
echo "! I was not executed in the right place"
fi