This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Compiling Mono for the ReadyNAS Ultra-4 running Debian 4.0 (etch) | |
## Requires modern version of GCC and binutils | |
# Somewhere to build | |
mkdir -p /c/src | |
# Fetch and build GCC & deps | |
cd /c/src | |
curl -O ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-4.9.4/gcc-4.9.4.tar.bz2 | |
tar xvfh gcc-4.9.4.tar.bz2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encrypt stdin | |
echo "secret" | openssl rsautl -encrypt -inkey ~/.ssh/id_rsa -out secret.enc | |
# encrypt file | |
openssl rsautl -encrypt -inkey ~/.ssh/id_rsa -in secret.txt -out secret.enc | |
# decrypt to stdout | |
openssl rsautl -decrypt -inkey ~/.ssh/id_rsa -in secret.enc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openssl rsa -in ~/.ssh/id_rsa -pubout -out ~/.ssh/id_rsa.pub.pem |
NewerOlder