Skip to content

Go web app for secure and encrypted secret sharing

Notifications You must be signed in to change notification settings

ikarabulut/hidenseek

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HideNSeek

Go web app to allow for encrypted and secure secret sharing. When a secret is added it will update the local secret map JSON file running on your server. When a secret is viewed it will delete that secret from the file. In order to decrypt a secret you must have the password and salt that was used to encrypt.

Running the app

  1. Ensure you have go installed locally and clone the repository
  2. Set up ENV variables
PASSWORD= Password for encryption
SALT= Salt for encryption
  1. From the root directory run go run main.go
  • This will run on localhost:3000

Add a secret

curl --header "Content-Type: application/json" \
  --request POST \
  --data '{"plain_text":"hello-world"}' \
  http://localhost:3000/secret

View a secret Send a GET request to localhost:3000/secret with a query param of hash

curl "localhost:3000/secret?hash={ENTER HASH}"

Testing

  • Navigate to a test folder /{package}_Test
  • Run:
  go test -v

About

Go web app for secure and encrypted secret sharing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages