概要
もうキーチェインアクセスはオワコンですが git などのコマンドは未だにキーチェインアクセスを参照しているのでキーチェインアクセス側に古いパスワードが残っている場合は削除しましょう
環境
- macOS 26.5.2
- git 2.55.0
コマンド
security delete-internet-password -s bitbucket.org
bitbucket.org の部分は適宜変更してください
確認
security find-internet-password -s bitbucket.org
で security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain. になれば削除完了です
最後に
なぜか GUI からだと削除できないというなぞの現象が発生した場合は CLI を使いましょう
0 件のコメント:
コメントを投稿