4 ms·
was wondering the same thing... finding items with more than 1 application is the important part. so this is a start: security dump-keychain -a > keychain.txt &
by jdc0589 11y ago
was wondering the same thing... finding items with more than 1 application is the important part. so this is a start: security dump-keychain -a > keychain.txt && egrep -n "applications \(([2-9])\)" keychain.txt
Then just look at the item that contains those line numbers and see whats up. You will have some show up on an unaffected system. This is what my output looks like: http://puu.sh/ishaP/675695b11e.png http://puu.sh/ishaP/675695b11e.png
* disclaimer, that egrep regex is shit.
- c0wb0yc0d3r 11y agoCan you skip the whole writing to file bit, and pipe straight to egrep?