This script aims to build Tor and OpenSSL on RISC-V systems more simply. This is used for our SiFive HiFive Tor exit relay.
LICENSE | ||
README.md | ||
tor-openssl-riscv-install.sh |
About
This script aims to build OpenSSL and Tor from source on RISC-V systems more simply. This is used for our SiFive HiFive Tor exit relay.
Relay: https://metrics.torproject.org/rs.html#details/D2E30488BD9CB80D4FB6156889EE891923705098
As of 2025-October-12, we've tested and validated:
- OpenSSL 3.6.0
- Tor 0.4.8.19
- SiFive HiFive Premier P550 OS: Ubuntu 24.04 with kernel 6.6.77-2-premier
Install
Dependencies:
sudo apt update && sudo apt install -V build-essential perl pkg-config libevent-dev zlib1g-dev wget ca-certificates
The script:
curl -fsSLO https://code.disobey.net/EmeraldOnion/tor-openssl-riscv/raw/branch/main/tor-openssl-riscv-install.sh
chmod +x tor-openssl-riscv-install.sh
sudo ./tor-openssl-riscv-install.sh
- The script will ask you for the version of OpenSSL and Tor that you wish to install. Manually check this information based on your needs.
- The script will build OpenSSL from source and then build Tor from source. This can take several minutes.
- The script will report the OpenSSL and Tor versions now installed and ask if you would like to restart the Tor daemon -- relay identity will remain intact and the same torrc will be used.