Hi all, Please consider donating to this or any of my many of opensource projects.
Getting it running on Windows is fairly simple, but the browser extension PassFF with its host script, PassFF host didn't work for me after running the installer install_host_app.bat
file.
I found gopass which is a Go implementation of the original pass
script, and seems to be 100% compatible.
Side note: Gopass does provide gopassbridge which is a browser extension very similar to passff, but FWIW it was not a drop in solution for me, even though
gopass
is in myPATH
.
So, I put together this guide to show how I got up and running with PassFF using gopass.
- Install Chocolatey
Follow the instructions here https://chocolatey.org/install
-
Install the latest golang (using Chocolatey)
In the terminal:
choco install golang
-
Install
gopass
:In the terminal:
go install github.com/gopasspw/gopass@latest
Check it's working run
gopass
in the terminal:__ _ _ _ _ _ ___ ___ /'_ '\ /'_'\ ( '_'\ /'_' )/',__)/',__) ( (_) |( (_) )| (_) )( (_| |\__, \\__, \ '\__ |'\___/'| ,__/''\__,_)(____/(____/ ( )_) | | | \___/' (_) 🌟 Welcome to gopass! ⚠ This is the built-in shell. Type 'help' for a list of commands. gopass>
If you haven't installed
pass
already, rungopass init
to setup your password repo. -
Get
install_host_app.bat
and run it.Your
%APPDATA\passff\
folder will have:passff.bat passff.json passff.py
-
The
passff.bat
file is a bit odd, and overwrites the PATH and tries to runpassff.py
using a full path, so I don't know what the thinking was but, I replaced it with this:@echo off python passff.py %*
-
To use
gopass
instead ofpass
, replace the command in thepassfy.py
:############################################################################### ######################## Begin preferences section ############################ ############################################################################### COMMAND = "pass"
To:
############################################################################### ######################## Begin preferences section ############################ ############################################################################### COMMAND = "gopass"
The good part of the story, where I screwed up!
On one machine I installed passff, the above steps didn't work. Turns out I'd broken the passff.json
.
It locates the passff.bat
for the passff extension, and it should look like this: (with YOURNAME
corrected to your Windows username.)
{
"name": "passff",
"description": "Host for communicating with zx2c4 pass",
"path": "C:\\Users\\YOURNAME\\AppData\\Roaming\\passff\\passff.bat",
"type": "stdio",
"allowed_extensions": [ "[email protected]" ]
}
My passff.json
looked like this this:
{
"name": "passff",
"description": "Host for communicating with zx2c4 pass",
"path": "PLACEHOLDER",
"type": "stdio",
"allowed_extensions": [ "[email protected]" ]
}
I think install_passff_host.bat
should set this correctly, I must have copied over it.
After restarting Firefox, PassFF now pops up the password search box, like this:
Let me know if you have any trouble, I'll be happy to help getting it working for you too.
Windows SSH is the next problem if you have multiple keys:
Terminal as administrator:
Just Works