solanum/tools/mkkeypair

6 lines
173 B
Text
Raw Normal View History

#!/bin/sh
dd if=/dev/urandom of=randdata count=1 bs=2048
openssl genrsa -rand randdata -out private.key 2048
openssl rsa -in private.key -out public.key -pubout
rm randdata