Skip to content

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

darkwise/sup3rS3cretMes5age

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sup3rS3cretMes5age!

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.

Run locally

Prerequisites

Installing

  • run hashicorp vault server

    docker run -ti --cap-add=IPC_LOCK -ti -p 8200:8200   --name vault vault
  • set vault environment variable

    export VAULT_ADDR=http://localhost:8200
    export VAULT_TOKEN=$(docker logs vault | grep Token | awk '{print $NF}')
  • run the secretMsg service

    git clone https://github.com/algolia/sup3rS3cretMes5age.git
    go get
    go run *.go
  • try it!

    http://localhost:1234/msg

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

  • HTML 55.7%
  • Go 34.4%
  • CSS 9.9%