far2l
far2l copied to clipboard
7zip with password not supported
fa2l can create .7z archive with password, but cannot extract files
Case A (protected files content, unprotected files list): A.1 - on any file in home folder (~/mc.menu) press Shift-F1; A.2 - in dialog append .7z to archive name (mc.7z); A.3 - in dialog enter 123 in "Archive password" and "Reenter password" fileds, press Enter, archive created; A.4 - enter to archive and try to view (F3) compressed file; A.4.error - far2l error message "Archiver reported exit code 1", in console ;
$ 1"/usr/bin/far2l" --libexec "/usr/lib/far2l/Plugins/multiarc/plug/multiarc.far-plug-mb" "/tmp/far2l_3e8_0/FTM1fce.tmp/" BuiltinMain 7z e /home/gav/mc.7z "mc.menu"
7z Decoder 22.01 (x64) : Igor Pavlov : Public domain : 2022-07-15
Extracting mc.menu
ERROR: decoder doesn't support this archive
A.5 - try to extract (Shift-F2) compressed file, in extract dialog enter 123 to "Archive password" field; A.5.error - same error; A.6 - command "p7zip -d mc.7z" ask for password and successfully extract (but p7zip hangs after success extraction);
Case B (protected files content, protected files list): B.1 - repeat steps A.1 .. A.3 but in dialog enter -mhe to "Switches" field; B.2 - try to enter to archive or extract files from archive - far2l ignore Enter, Ctrl-PgDn, Shift-F2
Versions: far2l: .dep package from ppa Version: 2.5.2+git202310031931.c7d34d09~ubuntu22.04.1 OS: Ubuntu 22.04.3 LTS p7zip: 16.02 from ubuntu repo
p7zip success extraction output:
p7zip -d ./mc.7z
7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=ru_RU.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz (306A9),ASM,AES-NI)
Scanning the drive for archives:
1 file, 775 bytes (1 KiB)
Extracting archive: ./mc.7z
Enter password (will not be echoed):
--
Path = ./mc.7z
Type = 7z
Physical Size = 775
Headers Size = 183
Method = LZMA2:12 7zAES
Solid = -
Blocks = 1
Everything is Ok
Size: 1169
Compressed: 775
maybe process such cases using custom.ini? command line 7z already used there
Plugin configuration/Archive support/Command lines/7z - remove ^ from beginning of 1st commands:
this will force far2l to use external 7z instead of builtin for extraction
I removed "^" exactly as you recommended. Case A (protected files content, unprotected files list) - works properly; Case B (-mhe switch protected files content, protected files list) - not works, far2l ignore Enter, Ctrl-PgDn, Shift-F2.