0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-15 14:31:11 +01:00
construct/tools/mkkeypair
nenolod 212380e3f4 [svn] - the new plan:
+ branches/release-2.1 -> 2.2 base
  + 3.0 -> branches/cxxconversion
  + backport some immediate 3.0 functionality for 2.2
  + other stuff
2007-01-24 22:40:21 -08:00

5 lines
173 B
Bash
Executable file

#!/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