Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Simple to use, simple to deploy, one time self destruct messaging service, with hashicorp vault as a backend

License

Notifications You must be signed in to change notification settings

doitintl/sup3rS3cretMes5age

 
 

Repository files navigation

sup3rS3cretMes5age! Build Status

A simple, secure self-destructing message service, using HashiCorp Vault product as a backend.

self-destruct

Read more about the reasoning behind this project in the relevant blog post.

Now using Let's Encrypt for simple and free SSL certs!

Prerequisites

Running Locally

Running locally will use a self-signed SSL certificate for whatever your local dev domain is. The default is localhost, to change it just pass an argument to make. For example, if you set 127.0.0.1 secret.test in your /etc/hosts you would run locally as:

$ export VIRTUAL_HOST=secret.test
$ make run-local 

Try it! (you can ignore the safety warning since it's a self-signed cert)

https://secret.test

Running with Let's Encrypt

Using lets-encrypt-nginx-proxy-companion you can now get a free (and valid) SSL cert when running this project on a live server. Thanks to evertramos's docker-compose-letsencrypt-nginx-proxy-companion for a great working example.

  1. Clone this repo
  2. Ensure you have docker and docker-compose installed on server
  3. run `VIRTUAL_HOST=<YOUR_DOMAIN_HERE>
  4. run make run
  5. Let's Encrypt may take a few minutes to validate your domain
  6. open https://your-domain

Security notice!

You should always run this behind SSL/TLS; otherwise, a message will be sent unencrypted!

Screenshot

secretmsg

Contributing

Pull requests are very welcome!

About

Simple to use, simple to deploy, one time self destruct messaging service, with hashicorp vault as a backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 44.6%
  • HTML 41.3%
  • CSS 6.6%
  • Makefile 5.1%
  • Dockerfile 2.4%