This is the answer to Mac OS X Encryption Problem
When he created the encrypted .dmg, he used the command line method, but specifically he used the method I showed where the passphrase is passed with "echo":
echo "your passphrase" | hdiutil create -encryption -stdinpass -srcfolder secrets foo.dmg
That actually embeds a newline into the passphrase. Wnen you type into the GUI dialog box, your "Enter" is stripped. The way to decrypt that is to provide the passphrase in the same way:
echo "your passphrase" | hdiutil attach -stdinpass foo.dmg
This was indeed his problem, and he was able to open his encrypted folder.
(You could use "echo -n" to avoid the problem)
Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

| Views for this page | ||||
|---|---|---|---|---|
| Today | This Week | This Month | This Year | Overall |
| 2 | 19 | 98 | 1,122 | 2,561 |
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Add your comments
Lone-Tar Backup and Disaster Recovery
for Linux and Unix