Skip to content

[Security][Keychain] 複数APIキー保存の結果を無視し、Keychain書き込み失敗でも設定処理が継続する #490

Closed

Description

@shirokuma-xv

概要

AISecretStore.setStrings は正規化後に setString を呼びますが、戻り値を呼び出し側へ返しません。

根拠

KizunaAI/AI/AISecretStore.swift:524-531

問題

Keychainアクセス拒否、ロック中、容量/アクセスグループ不一致でも、複数値設定が成功したように扱われる可能性があります。

期待

成功件数/失敗キーを返し、秘密値そのものをログへ出さずに再試行を促す。

テスト

Keychain失敗を注入し、UIが保存成功を表示しないことを確認する。

Activity

  1. viuk-issue-summarizer commented on Aug 21, 2026

    @viuk-issue-summarizer

    Model not found: opencode/deepseek-v4-flash-free. Did you mean: deepseek-v4-flash, deepseek-v4-pro, gemini-3-flash?

    github run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions