SourceForge has been redesigned. Learn more.
Close

#20 remove 8-character password limit

open
nobody
None
5
2010-05-04
2010-05-04
No

7za may use getpass to read the password from console. As a result only the first 8 characters are returned and thus it is impossible to decompress the archive on a system with different password input mechanism (or even using "-p" command-line option on the same system).

The patch fixes the problem by replacing getpass with getpassphrase.

Discussion

  • Alexander Klimov

    getpass -> getpassphrase

     
  • my p7zip

    my p7zip - 2010-05-07

    I tried getpass on Linux and I was able to enter a 312 characters password.

    I tried getpassphrase and I cannot build the program because getpassphrase does not exist on Linux (Ubuntu 9.04).

    What is your OS ?
    uname -a

     

Log in to post a comment.