gopasspw / gopass-jsonapi

Gopass Browser Bindings
MIT License
48 stars 17 forks source link

Debugging impossible? #38

Closed con-f-use closed 1 year ago

con-f-use commented 2 years ago

How do I debug problems with the jsonapi? There's no information on how to make requests and no example requests and responses one could play around with. My problem is that gopass-bridges gives me this:

image

Which tells me next to nothing about the problem. Also, sending close to 2 TB is suspiciously fast :stuck_out_tongue_winking_eye:

I made this a gopass-jsonapi issue because finding out if that actually runs and works in principle is something that should be documented, no matter if the actual problem is with gopass-bridge.

martinhoefling commented 2 years ago

Messages with such a size typically indicate that the native app doesn't give a message on stdout but something else instead. The first bytes are used to determine the size of the message, which then results in the error message from the browser (which is passed through). The gopassbridge repo contains a test client for native messaging.