Generating secret keys for your Enpass Hub

Enpass Hub configuration requires secret keys for cryptographic signing when communicating with the Enpass Console and individual users’ Enpass apps.

To generate a secret key in a Linux environment:

  1. Open your terminal.
  2. Run either of the following commands:
    • tr -dc '[A-Za-z0-9!"#$%&(){}*+,-./:;<=>?@^_`~|]' < /dev/urandom | head -c 50 ; echo
    • openssl rand 200 | tr -dc '[A-Za-z0-9!"#$%&(){}*+,-./:;<=>?@^_`~|]' | head -c 50 ; echo

Either command will generate a random string of 50 characters with a mix of uppercase and lowercase letters, numbers, and special characters.

Never share this key
If this key is compromised, attackers could use it to create malicious session data.

 


Related topics