Skip to content

Releases: codaqui/secret-sharing

v0.1.1

30 Oct 19:17
08f7d6b
Compare
Choose a tag to compare

Feat

#2 - Now you can create an alias and run the script from anywhere.

v0.1.0

24 Oct 21:58
3f13d19
Compare
Choose a tag to compare

New Features

This is a bash script application that interacts with a piping server to allow you to create and share a secret. In this version, the following features have been implemented:

  1. Setup of Application: The application first conducts a setup where it creates a config.yaml file. This file will store the URL of your piping server. If no URL is provided during this setup, the setup will default to https://ping.enderson.dev.

  2. Validation of Piping Server: The application will also validate the URL provided to ensure it's a piping server. It will create a simple secret and try to retrieve it via both POST and GET operations. If not, it will throw an error message and exit the program.

  3. Secret Creation & Sharing: The application allows you to either share a secret that you provide or generate a secret and share it. It sends the secret to your piping server, returning a unique URL that can be accessed to view the secret. This URL has a 60-second timeout.

  4. Logging: The application has comprehensive logging, providing feedback on each of the processes in the application.

Dependencies

The application requires the presence of the following dependencies: curl, yq, uuidgen, and pbcopy. These must be installed for the script to run correctly.