pfn / keepasshttp

KeePass plugin to expose password entries securely (256bit AES/CBC) over HTTP
GNU General Public License v3.0
2k stars 275 forks source link

Share Database over Intranet #157

Open amuagarwal opened 10 years ago

amuagarwal commented 10 years ago

I am trying to run keepasshttp on one local network machine and it successfully get started at http://localhost:19455 but when i am trying to access same with machine name or ip address it giving 400 erro (Bad Request - Invalid Hostname). please update how one can configure the keepasshttp by which the same database can be share over network.

Thanks in advance.

Amit

DukeyToo commented 10 years ago

I want this too. Best I can determine this is because the listener only listens on localhost. So although the plugin can specify a different host, the only one that works is localhost.

It may be intentional though, as a security precaution. It is certainly safer that way for the normal localhost scenario.

ossmoos commented 9 years ago

Change localhost to your domain name:

private const string HTTP_PREFIX = "http://[yourdomainname.com]:";