Snappass is generally the web app that is used to share the password in a secure way. Using the Fernet symmetric encryption, snappass encrypts all the passwords shared through their platform. For each password, a random key is generated that is not stored and shared as a password link. So it will be safe and secure, enhancing the security features.
Here at Ibmi Media, we shall look into the procedure to install and use snappass on Ubuntu 20.04 LTS server.
To install the snappass, first you must have to install the redis server and python with version above 3.5. Redis server is easy to install by downloading its package from the official documentation or directly from the Ubuntu repository.
Install the redis server following the below commands:
$ sudo apt update
Then install the redis server with the command as:
$ sudo apt install redis-server -y
Verify the redis server is running by checking its status:
$ sudo systemctl status redis-server.service
Also, check if python is installed or not with the command as shown below:
$ python3 --version
Next, you are ready to install the snappass on your Ubuntu 20.04 server. Simply execute the command as shown below for this purpose:
$ pip install snappass
Now, run the snappass to serve the web app by executing the command:
$ snapass
Snappass is also installed and set up with the use of docker and docker compose. First be sure you have already installed the docker and docker compose on your Ubuntu 20.04 LTS server. Then download the project of the snappass from the github repository by executing the command:
$ git clone https://github.com/pinterest/snappass.git
Now you will notice the snappass folder will be downloaded with the required contents like Dockerfile, docker-compose,yml and mainly snappass project file.
To install and setup snappass with its requirement like redis server, simply execute the docker-compose command as:
$ docker-compose up -d
After executing this command, the redis server and snappass web app will be set up and ready to be browsed.
This article covers how to install and use the snappass web app on your Ubuntu Linux system. In fact, you can now securely generate a random link for the password that can be opened only one time.