andymatuschak/Sparkle — pull request #177 by rudyrichter (2012-05-23 21:16:05+00:00)
Title: support for password protected dmg files

In our specific use case we password protect our beta disk images and in order to function with sparkle for updating we needed to add support for detecting this case and then supplying the appropriate password on to hdiutil in order to open the downloaded disk image.

unfortunately it involved modifying NTSynchronousTask in order to support this as the information returned by hdiutil about the encrypted nature of the dmg apparently is being written to stderr instead of stdout.

we also added a password prompt dialog, but that can be entirely redesigned if need be.