gopasspw / gopassbridge

A web extension for Firefox and Chrome to insert login credentials from gopass
MIT License
264 stars 24 forks source link

Getting `failed to store secret: failed to encrypt` when trying to create credentials, but fetching credentials work perfectly #236

Open alecvn opened 1 year ago

alecvn commented 1 year ago

When I try to create credentials for a website I keep getting failed to store secret: failed to encrypt. However, if I create credentials through gopass they are available in the browser extension, they decrypt as expected and are auto-filled.

My system specs:

Firefox 111.0.1
GoPass Bridge 0.9.0
gopass-jsonapi 1.14.5
gopass 1.15.4
EndeavourOS 6.2.8-arch1-1

This has been going on for a couple of months, though it did work initially.

innovate-invent commented 11 months ago

I have the same issue. I managed to isolate it to gopass-jsonapi. Looking in the firefox debugger console for gopass-bridge it shows:

{"type":"create","entry_name":"test","login":"foo","password":"","length":24,"generate":true,"use_symbols":true}

Directly invoking gopass-jsonapi with this message fails.

See https://github.com/gopasspw/gopass-jsonapi/issues/118

innovate-invent commented 11 months ago

There is a fix for this issue here: https://github.com/gopasspw/gopass-jsonapi/issues/118#issuecomment-1866811925