Skip to content

p7zip commands silently truncated terminal-entered passwords to 8 characters #312

Description

@whorfin

Filing here from TritonDataCenter/smartos-live#999 upon request

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/[email protected]

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.

Activity

  1. added a commit that references this issue on Dec 2, 2021
    5be393d
  2. added 2 commits that reference this issue on Jun 2, 2022
  3. added a commit that references this issue on Jul 14, 2022
  4. added a commit that references this issue on Aug 30, 2022
  5. added a commit that references this issue on Dec 19, 2022
  6. added a commit that references this issue on Jun 8, 2023
  7. added a commit that references this issue on Jun 28, 2023
  8. added a commit that references this issue on Oct 20, 2023
  9. 39 remaining items

  10. added a commit that references this issue on Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions