Skip to content

Instantly share code, notes, and snippets.

@oszi
oszi / rsabd.py
Last active August 29, 2015 14:13 — forked from aexaey/rsabd.py
#!/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
"""