Menu

#1536 pwsafe-cli fails on safe combo with spaces

v1.0_(example)
closed
nobody
pwsafe-cli (1)
High
2021-07-14
2021-02-13
Dan R
No

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

Discussion

  • Rony Shapiro

    Rony Shapiro - 2021-02-14

    Ticket moved from /p/passwordsafe/support-requests/530/

     
  • Rony Shapiro

    Rony Shapiro - 2021-02-14
    • status: open --> pending
    • Priority: 1 --> High
     
  • Rony Shapiro

    Rony Shapiro - 2021-02-14

    Fixed in commit 2bdd57f6a, will be in next release.

     
  • Rony Shapiro

    Rony Shapiro - 2021-07-14
    • Status: pending --> closed
     

Log in to post a comment.