Is there a quick and easy way to dump the contents of a MacOS X keychain?

后端 未结 5 796
滥情空心
滥情空心 2021-01-30 17:13

I\'m looking for a way to dump (export) the contents of an OS X keychain into a file that I can easily process elsewhere, such as tab-delimited plaintext or something of the sor

5条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-30 17:41

    Please read this: https://gist.github.com/rmondello/b933231b1fcc83a7db0b

    Ignore:-----

    I found a sollution to the "Always Allow" dialog in each key!

    Just run the previous command with sudo.

    sudo security dump-keychain -d login.keychain
    

    This way you'll only need to enter your password two times. One on the Terminal to sudo and another to unlock the keychain! ;)

    Have a nice day!

提交回复
热议问题