65

When using the Keychain Access app, I am often unable to delete an Web form password item. I have tried hitting the delete key and going to Edit > Delete. In both cases, nothing happens, there is no error message.

I can delete the item if I use the command line version of the tool:

$ security find-internet-password -a "foo@example.com"
keychain: "/Users/simon/Library/Keychains/woodside-mbp.keychain"
version: 256
class: "inet"
attributes:
    0x00000007 <blob>="daw.apple.com (foo@example.com)"
    0x00000008 <blob>=<NULL>
    "acct"<blob>="foo@example.com"
    "atyp"<blob>="form"
    ...
$ security delete-internet-password -a "foo@example.com"
keychain: "/Users/simon/Library/Keychains/woodside-mbp.keychain"
version: 256
class: "inet"
attributes:
    0x00000007 <blob>="daw.apple.com (foo@example.com)"
    0x00000008 <blob>=<NULL>
    "acct"<blob>="foo@example.com"
    "atyp"<blob>="form"
    ...
password has been deleted.

If I now redo the search in Keychain Access, the item is gone.

I am running El Capitan 10.11.4 (15E65), Keychain Access Version 9.0 (55171.20.2), and

  • In the Keychain Access application, does the keychain you are trying to delete from (e.g., login, Local Items, or System) show a locked padlock icon next to it? If so, try clicking the padlock icon in the upper-left corner, entering your password, then trying to delete it again. – PseudoSu May 26 '16 at 20:45
  • @PseudoSu: the keychain is unlocked. – Simon Woodside May 26 '16 at 21:35

4 Answers4

137

I notice you say, "If I now redo the search in Keychain Access…" implying that you began by searching when you weren't able to delete the item. Find it in the list without searching and then delete. It's just a dumb bug. I have found I sometimes can delete a single item after searching, but not multiple, and sometimes there's no problem at all. ¯\_(ツ)_/¯

Greg Perham
  • 1,495
45

Had the same problem, found that I was able to delete keys once I switched from iCloud to login in the Default Keychains section.

karmstr7
  • 551
1

If the password entry was created while using safari, you will need to delete it in the preferences of safari rather then through the keychain. The entry will be found under the password tab in preferences.

bob
  • 19
0

I was able to delete the key from the Keychain Access application from the Default Keychains > iCloud. The full action is:

  1. Open the "Keychain Access" application
  2. Click the iCloud entry in the left panel under Default Keychains
  3. Search for your key through the search bar
  4. Chose your item and right-click, then click the Delete option
agarza
  • 2,274