mwgg/passera

Installation Instructions For Linux

Closed this issue · 1 comments

I'd like to get this on my headless server running ubuntu 14.04. How do I install this software? I've gotten it working on windows, and in Firefox (both of which work well.) But my core system is a headless server, and I'd like to get it running on that.

I've tried going to my git directory, and doing git clone https://github.com/mwgg/passera which installed the folder structure and I can get to /src but how do I run passera.go?

I also did the standard ./configure route. Nothing.

I downloaded go and tried to run go build passera.go it fails.
So I tried go run passera.go & got:
passera.go:5:2: cannot find package "github.com/atotto/clipboard" in any of:
/usr/src/pkg/github.com/atotto/clipboard (from $GOROOT)
($GOPATH not set)
passera.go:4:2: cannot find package "github.com/howeyc/gopass" in any of:
/usr/src/pkg/github.com/howeyc/gopass (from $GOROOT)
($GOPATH not set)

Now I can certainly run that error chain to the end and see where I get but I assume your code is fairly easy to use because it was so simple in Firefox and Windows. Which makes me think I'm going about this all wrong.

Thank you in advance.

mwgg commented

Hi,

passera.go is just a source file. You either need to either run or compile it with golang, or just download the executable file for Linux (linked in the project description). Since there is no clipboard on headless systems (no X server), you can only use the "-s" feature to show the password on the screen for a period of time. In future versions I will make it possible to output the password to stdout, which would allow for other possible usage cases.