Configuration
Configuring VPS is super simple, first we need GPG keys and then we will tell VPS to use our key.
If you already have GPG keys set up, you can skip to VPS Configuration at the bottom of the page.
GNU Privacy Guard
Setting up GPG keys is easy, but we won't go into details of how GPG works here.
If you want to know more about GPG you can read about it on the official website, or run man gpg
.
In order to create a GPG public and private key interactively, run the following command:
gpg --full-generate-key
Key type should be RSA
and key size is recommended to be 4096
.
The email
you use will be your GPG ID, this doesn't have to be a real email address.
Your GPG ID can only contain: a-z
, A-Z
, 0-9
, -
, _
, .
and @
.
This is a limitation from VPS not GPG.
Gererating GPG keys can take some time and depends on the key size!
VPS Configuration
Now that we have generated GPG keys, we can tell VPS to use our GPG ID:
Alias: init
vps initialize GPG-ID
Replace GPG-ID
with your email.
Your ID will be saved in ~/.vilath/.vps_gpg_id
.
You can now start generating passwords!