On Apr 13, 2006, at 12:19 PM, Aman Patel wrote:

I'd be happy to just
convert all of my existing entries to ones that work with the universal builds, but there are no visible differences between the 2 different types.
Also, I would prefer not to modify hundreds of entries by hand.

Here's a very skanky way to do it. Keep in mind that this is not a good idea at all.

1. Back up ~/Library/Keychains/login.keychain
2. Seriously.
3. Open ~/Library/Keychians/login.keychain in your favorite text editor (that won't choke on binary files or muck around with line endings). 4. Replace all occurrences of "httd" with "dtth" (if you have the patience, you might want to make sure that you don't accidently pick up any legitimate occurrences that are part of longer strings, but that seems unlikely to be the case)
5. Save and quit
6. Log out
7. Log back in

This makes dangerous assumptions, like "no-one other than Camino is storing httd typed entries", and "keychain probably won't mind if I muck around with substrings in its binary storage". All I can say in this method's defense is that it worked for me when I was too lazy to write an actual converter.


It might be worth having Camino check both orderings of that string on Intel when doing the lookup; that would essentially turn it into an ad-hoc conversions tool (at a slight performance hit).

-Stuart
_______________________________________________
Camino mailing list
[email protected]
http://mozdev.org/mailman/listinfo/camino

Reply via email to