gots

command module
v0.0.0-...-4e39f1a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2015 License: MIT Imports: 13 Imported by: 0

README

GOTS - Go One-Time-Secret

Description

This is a Go client for the onetimesecret.com service. Please note you can also checkout the opensource code base for the service and self-host it.

Dependencies

  • Go 1.5+ (only tested with this version)
  • github.com/codegangsta/cli
  • github.com/franela/goreq
  • An account at https://onetimesecret.com (if not self-hosting)

Building

Usage & Parameters

You must have a ".gots" file in your home directory. Just use the .gots_sample file and replace values with the appropriate settings

The available commands are as follows:

Share a secret:

gots share [secret] [passphrase] [ttl] [recipient_email]

Generate a random a secret:

gots generate [passphrase] [ttl] [metadata_ttl] [secret_ttl] [recipient_email]

Get a current secret:

gots get [secret_key] [passphrase]

Get meta data for a given secret:

gots getmeta [metadata_key]

Get recent meta data:

gots recentmeta

View API status:

gots status

Bugs & Feature Requests

Please open an issue for any bugs or feature requests.

Author

Alain Lefebvre (hartfordfive@gmail.com)

License

Covered under the MIT License

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL