Ticket #1685 (new defect) — at Version 6

Opened 15 years ago

Last modified 17 months ago

Missing support for archives with encrypted headers (rar, 7z and probably more)

Reported by: igorp1024 Owned by:
Priority: major Milestone: Future Releases
Component: mc-vfs Version: master
Keywords: Cc: tux@…
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description (last modified by andrew_b) (diff)

If rar archive is packed with option '-hp' midnight commander stalls on open attempt of such archive. The only workaround is to do:
killall rar (if F3 was pressed)
killall unrar (if Enter was pressed)
After killing the rar/unrar process the "enter password ..." prompt is shown which is left from rar-process.
For testing purposes it is necessary to create archive with the following sample command:
$ rar a test_archive.rar * -hpmypassword

Change History

comment:1 Changed 15 years ago by andrew_b

  • Component changed from mc-core to mc-vfs

comment:2 Changed 14 years ago by bilbo

  • Cc tux@… added

comment:3 Changed 14 years ago by Spinal

  • Version changed from 4.7.0-pre3 to 4.7.0
  • Milestone changed from 4.7 to 4.7.1

I can confirm this behaviour.
Just tried to open encrypted archive and got stalled mc session.

comment:4 Changed 14 years ago by andrew_b

  • Milestone changed from 4.7.1 to 4.7

comment:5 follow-up: ↓ 6 Changed 14 years ago by eugenesan

  • Summary changed from Incorrect handling of rar-archives with encrypted headers (-hp option) to Missing support for archives with encrypted headers (rar, 7z and probably more)
  • Version changed from 4.7.0 to 4.7.4
  • Milestone changed from 4.7 to 4.7.5

Also affects 7z and probably most archivers with encrypted headers.

As solution dialog requesting for password should be added on such archives.

comment:6 in reply to: ↑ 5 Changed 14 years ago by andrew_b

  • Description modified (diff)
  • Milestone changed from 4.7.5 to 4.7

Replying to eugenesan:

As solution dialog requesting for password should be added on such archives.

What is your proposal, how to recognize that archive program asks password?

Note: See TracTickets for help on using tickets.