1

I have created a savings bundle and encrypted it with the standard SHA 2 algorithm with the usual hard disk utility.

Can I see the encryption anywhere?

They cannot be found in the disk utility or with hdiutil imageinfo.

2

From what I gather, you're saying that you have created an encrypted .dmg image file using Disk Utility.

You write that it is encrypted "standard SHA 2 algorithm", but this doesn't really make sense as SHA-2 is not an encryption algorithm, but rather a hash function. I assume you mean that you have used the standard 128-bit AES encryption that Disk Utility offers by default.

You can verify that the image file is encrypted by running:

hdiutil info

In the output it will state:

image-encrypted : TRUE

only if the image file is encrypted.

If you want more specific details about the encryption used, you can run this command:

hdiutil imageinfo myimage.dmg

This requires that you know the password to decrypt the image.

For an encrypted image it will show the following under "Properties":

Encrypted: true

And under "Backing Store Information" it will list the type of encryption:

Encryption: AES-128

UPDATE: In the comments you have indicated that you really wanted to know this information specifically for "sparse bundles" (not savings bundles). In that case, you can still use the above mentioned commands to find out if the files are encrypted, however it does not display the encryption algorithm used.

This information is available in a header placed in the token file in the root of the sparse bundle. You can use third party software such as this to decode that information.

2
  • Thank you for your answer jksoegaard. Thanks for the correction, now I already know that SHA 1 is not an encryption algorithm, but a checksum. With the hdiutil info command I was able to determine whether there was encryption. With the command hdiutil imageinfo /path/to/image, one could also see the encryption algorithm for normal encrypted UDRW disk images. Unfortunately, the output "Encryption:" is empty in Sparsebundle. I think it is not possible with Sparsebundle – Darwin OS X Mar 5 at 9:11
  • This is the first time you write about sparse bundles - that makes the question quite a bit different ? – jksoegaard Mar 5 at 9:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .