Donate Share

RAR Expander

Tracker: Bugs

5 misleading error when using the wrong password - ID: 1554122
Last Update: Comment added ( rinzwind )

I'm using v0.8.5b2 although this has been the case for earlier releases as

well. If an archive is password protected and I mistype the password, the
error I see is that archive is broken/damaged... which is not entirely
accurate. The archive isn't broken at all. Not major.


Nobody/Anonymous ( nobody ) - 2006-09-07 13:52

5

Closed

None

Nobody/Anonymous

Misc.

None

Public


Comment ( 1 )




Date: 2006-09-08 20:21
Sender: rinzwindProject Admin

Logged In: YES
user_id=473161

This is due to the fact that the official unrar library RAR Expander uses

announces 'wrong password' as 'broken archive'. The unrar library doesn't

check if the password is right, it simply tries to decrypt the archive
data with
the password, if the verification data then doesn't match up this really
means
the archive is either broken OR the password was wrong. It is not possible
for
RAR Expander to make a difference between these situations. However, RAR
Expander is smart enough to indicate in the error dialog that "the
password
might be wrong" if it asked you for a password. Are you sure the error
dialog
did not indicate this? I just tried it on a password-protected test
archive and
the error dialog indicated that the password might be wrong ...


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 2 )

Field Old Value Date By
status_id Open 2006-09-08 20:21 rinzwind
close_date - 2006-09-08 20:21 rinzwind