Answer to Mac Encryption Problem

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":


Hate these ads?

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)


Technorati tags:

Comments /Detective/a_encryption.html


Add your comments

Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner

cartoon
Need eyes on the ground at your customer's site?
Installation and light training Boston and New England
Reliable and experienced, punctual and professional.

Views for this page
Today This Week This Month This Year  Overall
219981,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.

Publishing your articles here

pavatar.jpg
More:




Unix/Linux Consultants

Your ad here - $24.00 yearly!

http://bcstechnology.net Full service Linux & UNIX systems integrator; Windows to UNIX/Linux Client-Server Specialist; Secure E-Mail & Website Hosting; Thoroughbred Software Developer; Custom Industrial Automation; Hardware & Electronics Experts; In Business Since 1985.


UBB Computer Services Support for Openserver, Unixware and Linux. Windows integration with Unix/Linux servers. Hardware, Backup and Networking issues. Located near Sacramento CA, we provide onsite support throughout Northern CA and Nationwide via remote access. We are a SCO Authorized Partner and a Microlite BackupEdge Certified Reseller.


larryi@ccamedical.com SCO OS5, Debian Linux, RedHat Linux, MySQL, Apache, AJAX development using dXport/dL4/Unibasic, Windows Connectivity, Sharing Resouces, Automation, Shell Scripting









Change Congress


Related Posts