matt-oakes / dokku-secure-apps

A plugin for Dokku which secures an individual app with HTTP Basic authentication
MIT License
50 stars 7 forks source link

htpasswd dependency #1

Closed GreyCat closed 10 years ago

GreyCat commented 10 years ago

This plugin requires htpasswd, but currently it doesn't do anything about ensuring that htpasswd is available - i.e no checks, no automated installs, no bundled htpasswd implementation, etc.

I guess that at least a check and a solid error message (with a pointers on how to install htpasswd) would be nicer than

/var/lib/dokku/plugins/secure-apps/commands: line 43: htpasswd: command not found

it outputs right now.

matt-oakes commented 10 years ago

Did you run dokku plugins-install as the installation instructions suggested? This should install the apache2-utils package which includes htpasswd.

GreyCat commented 10 years ago

Looks like I missed that part. Sorry, my bad. Thanks for the great plugin, though :)

matt-oakes commented 10 years ago

No problem! :+1: