Before running the following command without pinentry in PATH resulted in: Login failed: Could not sync vault: decrypt: MAC mismatch With this change the error is properly forwarded and displayed $ ./goldwarden vault login --email me@example.com Login failed: exec: "pinentry": executable file not found in $PATH