My primary database combination includes spaces; the remainder of it is letters/numbers; no special characters. When I try to query the database with pwsafe-cli, it fails. So I made a new test safe with only a single entry. Failure is:
pwsafe-cli ~/.pwsafe/fred.psafe3 --search=facebook --print=Password
Enter Password [/home/drawson/.pwsafe/fred.psafe3]:
CheckPasskey returned: WRONG_PASSWORD
[3] Done pwsafe
Segmentation fault (core dumped)
Original combination was "ThisIsATest"; that worked fine with both the GUI and pwsafe-cli; with it set to "This Is A Test" it works fine in the GUI, but fails as above with pwsafe-cli. I tried backslashes in front of the spaces, single quotes, and double quotes with no success.
System is openSUSE Leap 15.2, all current patches. pwsafe is 1.12, pwsafe-cli is 1.0.0
Ticket moved from /p/passwordsafe/support-requests/530/
Fixed in commit 2bdd57f6a, will be in next release.