Hello, To modify the searchable keychains list I end up doing something like
LIST=`security list-keychains -d user | cut -d '"' -f 2 | sort -u` security list-keychains -s other_keychain $LIST This isn't atomic and could always fail at some point if 2 scripts where running at the same time and we would end up losing one keychain because of command reordering. It seems like it would have been more safe to have an atomic API such as: security list-keychains -add other_keychain security list-keychains -remove other_keychain Or am I missing something ? Thanks, Jerome _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to [email protected]
