wordentropy2

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

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

Go to latest
Published: Jan 26, 2015 License: Apache-2.0 Imports: 17 Imported by: 0

README

wordentropy2

https://www.wordentropy.org

Pseudo-grammatical Passphrase Generator (using libwordentropy)

To run:

$ go get
$ go build
$ ./wordentropy2 -local

Local mode

  • Does not generate plots/statistics on startup ("How Random?" page will have blank areas).
  • Compiles views on every request.
  • Binds to high, non-privileged port.

TLS (SSL)

Wordentropy requires the use of TLS (SSL). For testing purposes you can create a self-signed certificate and private key with the following commands:

$ cd wordentropy2
$ mkdir ./tls && cd ./tls
$ openssl req -x509 -newkey rsa:4096 -keyout cert.key -out cert-unified.pem -days 365 -nodes

Application is hardcoded to look for "tls/cert.key" and "tls/cert-unified.pem" for the private key and certificate, respectively.

Plots/Statistics

To generate plots via Plot.ly, put credentials in data/plotly_creds.txt (exactly two lines: username and api key). Make sure you have Python (2.7), numpy and plotly installed. Run wordentropy2 in production mode.

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