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 commands silently truncated terminal-entered passwords to 8 characters #999

Closed
whorfin opened this issue Aug 28, 2021 · 2 comments
Closed

Comments

@whorfin
Copy link

whorfin commented Aug 28, 2021

Using

https://pkgsrc.joyent.com/packages/SmartOS/trunk/x86_64/All

on

$ uname -a
SunOS serverbox 5.11 omnios-r151038-c078b41acd i86pc i386 i86pc illumos

and having installed p7zip

I find that long entered passwords are silently truncated to 8 characters...

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

Same behavior is observed with the omnios-native

 pkg:/compress/p7zip@16.2-151038.0

Reported to omnios-build:
omniosorg/omnios-build#2457

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

The p7zip report includes a very simple fix.

@bahamat
Copy link
Member

bahamat commented Aug 28, 2021

Can you file this in the pkgsrc repo?

@travispaul
Copy link

Going to go ahead and resolve this issue since it's also been opened in the pkgsrc project.

@travispaul travispaul closed this as not planned Won't fix, can't repro, duplicate, stale Aug 17, 2022
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

No branches or pull requests

3 participants