Skip to content

Instantly share code, notes, and snippets.

@aexaey
aexaey / rsabd.py
Last active September 5, 2015 20:41 — forked from ryancdotorg/rsabd.py
update to (current) TomCrypto/pycurve25519
#!/usr/bin/env python
"""
sudo apt-get install python-gmpy python-m2crypto python-crypto python-dev
sudo pip install pycurve25519
./rsabd.py >poc.key
openssl req -new -key poc.key -out poc.csr
openssl x509 -req -days 365 -in poc.csr -signkey poc.key -out poc.crt
./rsabd.py '' poc.crt
"""