• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Creating Plists / How is the <data> value generated?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating Plists / How is the <data> value generated?


  • Subject: Re: Creating Plists / How is the <data> value generated?
  • From: Anton Altaparmakov <email@hidden>
  • Date: Sat, 15 Sep 2007 22:31:45 +0100

Hi,

On 15 Sep 2007, at 22:19, aaron smith wrote:
Thanks for the reply, let me pick your braina little farther.

Take this for example:
<key>org.mozilla.firefox</key>
<array>
<data>
AAAAAACiAAMAAQAAwXGNSQAASCsAAAAAAAAAFgAH3LUAAMGaoMwA
AAAACSD//gAAAAAAAAAA/////wABAAQAAAAWAA4AGAALAEYAaQBy
AGUAZgBvAHgALgBhAHAAcAAPABoADABNAGEAYwBpAG4AdABvAHMA
aAAgAEgARAASABhBcHBsaWNhdGlvbnMvRmlyZWZveC5hcHAAEwAB
LwD//wAA
</data>
</array>

This is what is put in that file I mentioned in my first email. I've tried doing something like:
Base64.encode64('org.mozilla.firefox') #ruby


Which ends up being: b3JnLm1vemlsbGEuZmlyZWZveA==

So my question then becomes, what else is happening to generate this huge hash?

Er. You haven't gotten the point. The key is org.mozilla.firefox and the data associated with it is the data bit and that bit is base64 encoded so you need to decode that! Doing that with an online decode I just found with google (http://makcoder.sourceforge.net/demo/ base64.php) I get:


<quote>
¢ÁqIH+ܵÁš Ì ÿþÿÿÿÿ Firefox.app Macintosh HDApplications/Firefox.app/ÿÿ
</quote>


So it is some binary data that I don't understand together with a textual description and path...

Best regards,

	Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer, http://www.linux-ntfs.org/


_______________________________________________ Do not post admin requests to the list. They will be ignored. Filesystem-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Creating Plists / How is the <data> value generated?
      • From: "aaron smith" <email@hidden>
References: 
 >Creating Plists / How is the <data> value generated? (From: "aaron smith" <email@hidden>)
 >Re: Creating Plists / How is the <data> value generated? (From: Shantonu Sen <email@hidden>)
 >Re: Creating Plists / How is the <data> value generated? (From: "aaron smith" <email@hidden>)

  • Prev by Date: Re: Creating Plists / How is the <data> value generated?
  • Next by Date: Re: Creating Plists / How is the <data> value generated?
  • Previous by thread: Re: Creating Plists / How is the <data> value generated?
  • Next by thread: Re: Creating Plists / How is the <data> value generated?
  • Index(es):
    • Date
    • Thread