pycrypto - Cryptographic algorithms and protocols for Python ChangeLog

HOWTO


# pycrypto 2.0.1
# ==============
# Prerequisites:
# python >= 2.1

cd
test -f installed/pycrypto-2.0.1.tar.gz &&
mv installed/pycrypto-2.0.1.tar.gz .
test ! -f pycrypto-2.0.1.tar.gz &&
wget http://www.amk.ca/files/python/crypto/pycrypto-2.0.1.tar.gz

# Verify tarball w/ md5sum:
# (this came from my gpg-verified tarball)
echo "4d5674f3898a573691ffb335e8d749cd  pycrypto-2.0.1.tar.gz" | md5sum -c

# Verify tarball w/ sha1sum:
# (this also came from my gpg-verified tarball)
echo "c77cdefdfb06e4749690013a9a9e1600ab14e26f  pycrypto-2.0.1.tar.gz" | \
sha1sum -c

# Verify tarball w/ gpg:
( gpg --list-keys 12FE4657 > /dev/null 2>&1 || gpg --recv-keys 12FE4657 ) &&
wget -nc http://www.amk.ca/files/python/crypto/pycrypto-2.0.1.tar.gz.asc &&
  gpg --verify pycrypto-2.0.1.tar.gz.asc && rm pycrypto-2.0.1.tar.gz.asc

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "pycrypto-*" -exec rm -r {} \;
tar xzvf ~/pycrypto-2.0.1.tar.gz
cd pycrypto-2.0.1
test $UID = 0 && chown -R root:root .
python setup.py build
python test.py
su -c "python setup.py install"
cd
mkdir -p -m 0700 installed
rm -f installed/pycrypto-*.tar.*
mv pycrypto-2.0.1.tar.gz installed/

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2006-01-27 2:26pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]