{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "Fixed in v1.9.1.4, or v1.9.5.2  ",
    "ClosedDate": "2010-02-11T20:19:45.813-08:00",
    "CommentCount": 0,
    "Custom": null,
    "Description": "Hi and thank you for your nice lib.\nI have a problem with extracting files with password protection in compact framework. I managed to do a zipped file with only to entries that create the Ionic.Zip.BadPasswordException. It seems that its not a specific file as i started out with 92 files - first omitting the failing files but then another file failed. Only one file is ever failing.\n \nThe source is really basic for compression and decompression in CF:\n \nstring path = \"NAND_Flash\\\\DB2009\\\\\";\n// Create zip\nusing (ZipFile zip = new ZipFile())\n{\n    zip.Password = \"forbudt\";\n    zip.AddDirectory(path);\n    zip.Save(outPath + \"upgrade.zip\");\n}\n \n// Unzip\nusing (ZipFile zip = ZipFile.Read(outPath + \"upgrade.zip\"))\n{\n    foreach (ZipEntry e in zip)\n    {\n        System.Diagnostics.Debug.WriteLine(\"File: \" + e.FileName);\n        try\n        {\n            e.ExtractWithPassword(\"NAND_Flash\\\\temp\\\\\", ExtractExistingFileAction.OverwriteSilently, \"forbudt\");\n        }\n        catch (Ionic.Zip.BadPasswordException b)\n        {\n            \n        }\n    }\n}\n \nThis result in following debug output:\n \nFile: sounds/\nFile: sounds/3.wav\nFile: sounds/2.wav\nA first chance exception of type 'Ionic.Zip.BadPasswordException' occurred in Ionic.Zip.CF.dll\nA first chance exception of type 'Ionic.Zip.BadPasswordException' occurred in Ionic.Zip.CF.dll\n \nI have attached the zip file that fails. Thank you for your help,\n \nThoeger",
    "LastUpdatedDate": "2013-05-16T05:31:54.203-07:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2010-02-08T10:48:30.61-08:00",
    "Status": {
      "Name": "Closed",
      "Id": 4
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "Extract with password fails in CF",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 1,
    "Id": 10178
  },
  "FileAttachments": [
    {
      "FileId": 2655,
      "FileName": "upgrade[1].zip",
      "DownloadUrl": ".\\2655"
    }
  ],
  "Comments": [
    {
      "Message": "Thoeger, thanks for the report.  I've reproduced the problem here. \r\nI need to investigate it further.  I will post updates to this workitem. \r\n",
      "PostedDate": "2010-02-11T03:46:51.9-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2010-02-11T03:47:26.94-08:00",
      "Id": -2147483648
    },
    {
      "Message": "This problem is due to a bug in the .NET Compact Framework.  See https://connect.microsoft.com/VisualStudio/feedback/details/318918 . \r\nI'm implementing the workaround now. \r\n",
      "PostedDate": "2010-02-11T14:08:22.823-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2010-02-11T20:19:45.813-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-02-21T18:43:40.8-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-05-16T05:31:54.203-07:00",
      "Id": -2147483648
    }
  ]
}