keychain exporter/ing code?
Sriranga Veeraraghavan
sriranga at berkeley.edu
Wed Jun 7 13:55:25 UTC 2023
Hi,
I haven't tried it, but there is a 'dump-keychain' command for security(1) that might do what you want:
security dump-keychain -d [keychain] > keychain.txt
Where [keychain] is the name of the keychain you want export (for example 'login.keychain').
Best,
-ranga
> On Jun 7, 2023, at 06:22, René J.V. Bertin <rjvbertin at gmail.com> wrote:
>
> Hi,
>
> I'm looking for some code that will allow me to export the entire contents of Apple keychains, if possible directly in a way that I can import the data in another cross-platform utility.
> I should be able to write something based on the "security" (example?) tool but would of course prefer to use an already tested library.
>
> Any suggestions?
>
> Thanks,
> René
More information about the macports-users
mailing list