0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-30 02:32:43 +01:00
construct/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