Download the latest release of Secretify for Linux using the following command:
curl -LO "https://www.secretify.io/release/bin/linux/amd64/secretify"
Download the secretify checksum file:
curl -LO "https://www.secretify.io/release/bin/linux/amd64/secretify.sha256"
Validate the secretify binary against the checksum file:
echo "$(cat secretify.sha256) secretify" | sha256sum --check
If valid, the output is:
secretify: OK
If the check fails, sha256
exits with nonzero status and prints output similar to:
secretify: FAILED
sha256sum: WARNING: 1 computed checksum did NOT match
To install Secretify system-wide, use the following command:
sudo install -o root -g root -m 0755 secretify /usr/local/bin/secretify
If you do not have root access on the target system, you can still install secretify to the ~/.local/bin
directory:
chmod +x secretify
mkdir -p ~/.local/bin
mv ./secretify ~/.local/bin/secretify
# and then append (or prepend) ~/.local/bin to $PATH
After installation, verify that Secretify is installed correctly by running:
secretify version
This command should output the version of Secretify installed.
Download the latest release of Secretify for Windows https://www.secretify.io/release/bin/win/secretify.exe as well as the checksum file https://www.secretify.io/release/bin/win/secretify.sha256.
dario@quasar:~$ secretify help
The safe way to share or transfer secrets.
Usage:
secretify [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
create Create a new secret link
help Help about any command
login Login with username and password
logout Log out
reveal Reveal a secret
version Show the build version, build time, and git hash
Flags:
-h, --help help for secretify
Use "secretify [command] --help" for more information about a command.
To login, run the following command:
secretify login https://example.secretify.io -u YOUR_USERNAME
You will be prompted to enter your password. Once authenticated, your credentials will be securely stored. If a keyring is available, your credentials will be saved there; otherwise, they will be stored in a newly created file located at ~/.secretify/.netrc
.
To logout, run the following command:
secretify logout
To create a new secret, use the following command:
secretify create text --set message=v3ryS3ecure$
Upon successful creation, you will receive output similar to the following:
https://example.secretify.io/s/QfYkEafyW6j8UKpKGV#VZ3cQFjdhTWUohot-M1fLlXOydSCC25H--wDtF9UGTM
To reveal a secret, use the following command:
secretify reveal --link https://example.secretify.io/s/QfYkEafyW6j8UKpKGV#VZ3cQFjdhTWUohot-M1fLlXOydSCC25H--wDtF9UGTM
You will receive output similar to the following:
{"message":"v3ryS3ecure$"}