Skip to content
This repository was archived by the owner on Jul 27, 2019. It is now read-only.

user keys

Manoel Domingues Junior edited this page Dec 25, 2018 · 1 revision

Generating keys

Generating RSA keys

The RSA keys must be 4096 bits.

Generating private key:

$ openssl genrsa -out privkey.pem 4096 

The generated file is your private key, its name will be "privkey.pem". Keep it secret!

The file should begins with "-----BEGIN RSA PRIVATE KEY-----" and ends with "-----END RSA PRIVATE KEY-----".

Generating public key:

$ openssl rsa -in privkey.pem -outform PEM -pubout -out public.pem 

The generated file is your public key, its name will be "public.pem".

The file should begins with "-----BEGIN PUBLIC KEY-----" and ends with "-----END PUBLIC KEY-----".

This one will be informed when adding yourself.

Private key fallback

The system is not able to retrieve your private key in case of loss. It is user's obligation to keep his/her private key safe. DO NOT LOSE YOUR PRIVATE KEY!