Package: xarchiver
Version: 1:0.5.4.20-2
Severity: normal
X-Debbugs-Cc: ibilisslz+report...@gmail.com

Dear Maintainer,

   * What led up to the situation?
I tried opening 7z encrypted file with password containing space.
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
I typed password with single quotation marks, which properly was passed into 
wrapped cli.
   * What was the outcome of this action?
When I typed password (in window) without manual addition of quotation marks 
Xarchiver failed to open file. In log it contained command it passed to cli 
utility, it was as follows (with password "PASS WORD" and filename censored for 
public sharing):
Command: /usr/bin/7z l -pPASS WORD /path/to/file.7z
When I typed password (in window) manually adding singular quotation marks 
Xarchiver properly opened 7z archive.
   * What outcome did you expect instead?
For Xarchiver to properly open archives when password is typed in window or 
message at least suggesting adding quotation mark around 'Password with spaces'.

Probably easiest fix (unless it exists in upstream) is to simply add quotation 
marks in command passed to cli utility or properly escape special characters 
passed into utility. 
I guess the latter solution should be recommended, as passwords may contain 
i.e. quotation mark themselves.

Sincerely,
Aleksander Szpakiewicz-Szatan


-- System Information:
Debian Release: 12.9
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-30-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xarchiver depends on:
ii  libc6                2.36-9+deb12u9
ii  libgdk-pixbuf-2.0-0  2.42.10+dfsg-1+deb12u1
ii  libglib2.0-0         2.74.6-2+deb12u5
ii  libgtk-3-0           3.24.38-2~deb12u3

Versions of packages xarchiver recommends:
ii  bzip2       1.0.8-5+b1
ii  p7zip-full  16.02+dfsg-8
ii  unzip       6.0-28
ii  xdg-utils   1.1.3-4.1
ii  xz-utils    5.4.1-0.2

Versions of packages xarchiver suggests:
pn  arj                <none>
ii  binutils           2.40-2
ii  cpio               2.13+dfsg-7.1
pn  lbzip2             <none>
pn  lhasa              <none>
ii  liblz4-tool        1.9.4-1
pn  lrzip              <none>
ii  lz4 [liblz4-tool]  1.9.4-1
pn  lzip               <none>
ii  lzop               1.04-2
pn  ncompress          <none>
ii  pbzip2             1.1.13-1
ii  pigz               2.6-1
pn  plzip              <none>
ii  rar                2:6.23-1~deb12u1
pn  unar               <none>
ii  zip                3.0-13
ii  zstd               1.5.4+dfsg2-5

-- debconf-show failed

Reply via email to