Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

p7zip truncates password to 8 chars when entered from terminal vs command-line arg #2457

Closed
whorfin opened this issue Aug 28, 2021 · 1 comment · Fixed by #2458
Closed

p7zip truncates password to 8 chars when entered from terminal vs command-line arg #2457

whorfin opened this issue Aug 28, 2021 · 1 comment · Fixed by #2458

Comments

@whorfin
Copy link

whorfin commented Aug 28, 2021

Observed with 7z and 7za from

 pkg:/compress/p7zip@16.2-151038.0

Basically, because Solaris nerfed getpass(), getpassphrase() should be called instead on Illumos.

Reported upstream:
https://sourceforge.net/p/p7zip/bugs/230/

This is rather insidious as it "self-consistent" - one thinks one is making encrypted archives with long passwords which can't be opened on eg Linux, or vice-versa, but which can be expanded only the system on which they were made. ..until one realizes one can open them on Linux by typing only 8 characters, but on Illumos, one must currently use the command-line-passed password form.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants