Go to file
2019-03-11 13:58:56 +01:00
errors Fix 'configure' request for custom stores (#21) 2019-03-11 13:58:56 +01:00
openbsd Declare OpenBSD pledge(2) (#5) 2018-04-12 23:37:59 +02:00
persistentlog Implement parsing browser requests and sending errors (#9) 2018-04-14 12:49:03 +02:00
request Fix 'configure' request for custom stores (#21) 2019-03-11 13:58:56 +01:00
response Implement echo action (#18) 2018-04-19 23:53:34 +02:00
version Implement parsing browser requests and sending errors (#9) 2018-04-14 12:49:03 +02:00
.editorconfig Initial boilerplate: go dep, good logger, makefile (#2) 2018-04-09 22:22:52 +02:00
.gitignore Initial boilerplate: go dep, good logger, makefile (#2) 2018-04-09 22:22:52 +02:00
.travis.yml Add unit tests for parsing browser requests, enable Travis (#15) 2018-04-18 22:52:34 +02:00
Dockerfile Add Dockerfile (#14) 2018-04-17 00:39:08 +02:00
Gopkg.lock Implement list action (#12) 2018-04-16 01:38:55 +02:00
Gopkg.toml Implement list action (#12) 2018-04-16 01:38:55 +02:00
LICENSE Add LICENSE (#17) 2018-04-18 21:52:48 +02:00
main.go Fix 'configure' request for custom stores (#21) 2019-03-11 13:58:56 +01:00
Makefile Add unit tests for parsing browser requests, enable Travis (#15) 2018-04-18 22:52:34 +02:00
PROTOCOL.md Fix typo in PROTOCOL.md 2019-03-09 21:38:13 +01:00
README.md Add Dockerfile (#14) 2018-04-17 00:39:08 +02:00

Browserpass - native host

Build locally

Make sure you have Golang and dep installed.

The following make goals are available:

Command Description
make or make all Fetch the latest dependencies, compile the app and run tests
make deps Fetch the latest dependencies
make browserpass Compile the app for your OS
make browserpass-linux64 Compile the app for Linux 64-bit
make browserpass-windows64 Compile the app for Windows 64-bit
make browserpass-darwin64 Compile the app for Mac OS X 64-bit
make browserpass-openbsd64 Compile the app for OpenBSD 64-bit
make browserpass-freebsd64 Compile the app for FreeBSD 64-bit
make test Run tests

Build using Docker

First build the docker image using the following command in the project root:

docker build -t browserpass .

The entry point in the docker image is the make command. To run it:

docker run --rm -v "$(pwd)":/browserpass-native browserpass

Specify make goal(s) as the last parameter, for example:

docker run --rm -v "$(pwd)":/browserpass-native browserpass test

Refer to the list of available make goals above.