Password extraction in 8.0a2-a3 seems broken

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
Cpuroast
Release Testers
Release Testers
Posts: 69
Joined: December 15th, 2010, 11:19 pm

Password extraction in 8.0a2-a3 seems broken

Post by Cpuroast »

Hi,
It seems that the password extraction in 8.0a2-a3 seems broken, but it might not be a new bug in 0.8.0:

I have a job stuck at "Unpacking failed, archive requires a password"

If I hit retry and feed it SomePassword in the password text box it fails again.

If I drop to command line and do "unrar e -pSomePassword SomeDownloadJob.part01.rar while in the temporary job folder, it extracts normally.

Now, if I understand the log correctly it's mistakenly trying "19" using the parameter -p19 as a password?
Is the clear text password actually contained in the log or is 19 a variable containing the password the user submitted.

Here's the debug log that seems to be relevant:

2015-07-04 17:02:48,708::INFO::[newsunpack:457] Extracting rarfile /Users/CpuroastXP/Downloads/Downloads/SABnzbd/Temporary/SomeDownloadJob/SomeDownloadJob.part01.rar (belonging to SomeDownloadJob) to /Users/CpuroastXP/Downloads/Downloads/SABnzbd/Completed
2015-07-04 17:02:48,708::INFO::[newsunpack:510] Got a password set by user
2015-07-04 17:02:48,708::DEBUG::[newsunpack:541] Trying unrar with password "19] - "SomeDownloadJob.par2" - 717,10 MB yEnc"
2015-07-04 17:02:48,708::DEBUG::[newsunpack:561] rar_extract(): Extractionpath: /Users/CpuroastXP/Downloads/Downloads/SABnzbd/Completed
2015-07-04 17:02:48,708::DEBUG::[rarfile:323] CRC mismatch! ofs =20
2015-07-04 17:02:48,709::DEBUG::[newsunpack:606] Running unrar ['/usr/bin/nice', '-n', '20', '/Applications/SABnzbd.app/Contents/Resources/osx/unrar/unrar', 'e', '-idp', '-o-', '-or', '-p19] - "SomeDownloadJob.par2" - 717,10 MB yEnc', '/Users/CpuroastXP/Downloads/Downloads/SABnzbd/Temporary/SomeDownloadJob/SomeDownloadJob.part01.rar', '/Users/CpuroastXP/Downloads/Downloads/SABnzbd/Completed/']
2015-07-04 17:02:48,916::DEBUG::[newsunpack:561] rar_extract(): Extractionpath: /Users/CpuroastXP/Downloads/Downloads/SABnzbd/Completed
2015-07-04 17:02:48,916::DEBUG::[rarfile:323] CRC mismatch! ofs =20
2015-07-04 17:02:48,916::DEBUG::[newsunpack:606] Running unrar ['/usr/bin/nice', '-n', '20', '/Applications/SABnzbd.app/Contents/Resources/osx/unrar/unrar', 'e', '-idp', '-o-', '-or', '-p-', '/Users/CpuroastXP/Downloads/Downloads/SABnzbd/Temporary/SomeDownloadJob/SomeDownloadJob.part01.rar', '/Users/CpuroastXP/Downloads/Downloads/SABnzbd/Completed/']
2015-07-04 17:02:48,944::ERROR::[newsunpack:550] Unpacking failed, archive requires a password (SomeDownloadJob.part01.rar)
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Password extraction in 8.0a2-a3 seems broken

Post by shypike »

Could be, I'll investigate.
We've had quite a few surprises with going to full Unicode.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Password extraction in 8.0a2-a3 seems broken

Post by shypike »

Found the problem, will be fixed in Alpha4.
Post Reply