• 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: Adding password for a file to keychain
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding password for a file to keychain


  • Subject: Re: Adding password for a file to keychain
  • From: Shawn Erickson <email@hidden>
  • Date: Tue, 20 Dec 2005 08:52:24 -0800

On 12/20/05, Glen Simmons <email@hidden> wrote:
> On Dec 20, 2005, at 12:50 AM, j o a r wrote:
> >
> > On 19 dec 2005, at 23.05, Glen Simmons wrote:
> >
> >> I wish I could. This is a cross-platform app and I can't change
> >> the file format.
> >
> > How is this problem solved on those other platforms? Perhaps not at
> > all?
> > Would it perhaps be possible to add this data in a way that doesn't
> > affect the ability to read this file on other platforms? How about
> > adding it to the resource fork (I know, not very Mac OS X...) as a
> > last resort?
>
> They match by path. :(

Are the passwords you store for files that will be modified or just
read? If just read then you could use something like an MD5 hash of
the file to get you a signature of the file that then could be used as
the key to store and lookup the password in the keychain.

Of course using an alias should work as well (if you get the right
form and resolve it correctly... unless somehow the file is being
replaced when modified).

-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Adding password for a file to keychain
      • From: Glen Simmons <email@hidden>
References: 
 >Adding password for a file to keychain (From: Glen Simmons <email@hidden>)
 >Re: Adding password for a file to keychain (From: j o a r <email@hidden>)
 >Re: Adding password for a file to keychain (From: Glen Simmons <email@hidden>)
 >Re: Adding password for a file to keychain (From: j o a r <email@hidden>)
 >Re: Adding password for a file to keychain (From: Glen Simmons <email@hidden>)

  • Prev by Date: Re: Exporting to Grapher
  • Next by Date: Re: Adding password for a file to keychain
  • Previous by thread: Re: Adding password for a file to keychain
  • Next by thread: Re: Adding password for a file to keychain
  • Index(es):
    • Date
    • Thread