Skip to content

Cannot delete old thread credentials from keychain #4399

@jhoogstraat

Description

@jhoogstraat

iOS device model, version and app version

Model Name: iPhone 13 / iPad Pro 11"
Software Version: 26.3
App version: 2026.2.1

Home Assistant Core Version

2026.2.3

Describe the bug
I was able to remove all thread credential, except one, without any apparent reason.

To Reproduce
Its difficult to reproduce. You would have to clean the keychain, while keeping the thread network somehow. I honestly don't know how I ended up here.

Expected behavior
There are no credentials visible that are not present in the keychain OR at least they can be removed OR there is at the very least a information what is going on.

Screenshots

Additional context

Logs:

2026-03-02 11:36:52.858 [Error] [com.apple.NSXPCConnection.m-user.com.apple.ThreadNetwork.xpc] [ThreadCredentialsManagementViewModel.swift:64] deleteCredential(_:) > Failed to delete credential with error: Error Domain=ThreadCredentialsStore Code=12 "Das angegebene Objekt konnte nicht im Schlüsselbund gefunden werden." UserInfo={NSLocalizedDescription=Das angegebene Objekt konnte nicht im Schlüsselbund gefunden werden., NSUnderlyingError=0x151f70510 {Error Domain=NSOSStatusErrorDomain Code=-25300 "(null)"}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions