macos – Deleting a number of keychains from Keychain Entry

[ad_1]

On macOS 10.14.6 Xcode 11.3.1 has been busy creating keychains (and keys, and certificates) in an limitless loop whereas attempting to “Robotically Handle Signing”. It creates keys in new keychains, and likewise within the login keychain concurrently (for some motive).

I do not need a whole lot of identically named keychains within the Keychain Entry UI, however not like the keys within the login keychain I am unable to choose a number of keychains within the sidebar to mass-delete them. I do not discover the prospect of deleting them one after the other very interesting, notably since Xcode can resolve to proceed the following time I choose computerized signing.

I attempted deleting the keychains from disk (positioned below /personal/var/folders/p5/<some id>/T), however that did not have an effect on the Keychain Entry database.

I do not know why:

  • Xcode is creating and revoking certs in a loop
  • Xcode is creating keys in new keychains in addition to within the login keychain — why not simply the login keychain?
  • Whether or not creating keychains in /personal/var/folders/p5/<some id>/T is wise or indicative of an issue (looks as if a temp listing to me — one thing fallacious with my private keychain library listing?)
  • Whether or not cleansing up the Keychain Entry DB would assist Xcode in any respect
  • Tips on how to clear up the DB with out deleting a whole lot of keychains one after the other (which will not even at all times delete)

Can I someway choose and delete a number of keychains from the DB?

Solutions welcome as as to if I ought to think about one other side of the issue. I am not fairly positive what to anticipate with reference to Xcode’s conduct and placement of its keychains, however I suppose I can examine listing permissions of ~/Library/Keychains within the meantime.

[ad_2]

Leave a Reply

Your email address will not be published. Required fields are marked *