0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-11 04:58:40 +02:00
construct/tools/mkkeypair

6 lines
173 B
Plaintext
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