LoginSignup
0
0

`security find-generic-password` でキーチェーンアクセスのGUI上から登録したパスワードが取得できなかった

Posted at

概要

キーチェーンアクセスAppのGUI上から登録したパスワードが取得できなかった。

$ security find-generic-password -a [アカウント名] -s [サービス名] -w
security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.

対応

コマンドライン上からパスワードを再登録する。

$ security add-generic-password -a [アカウント名] -s [サービス名] -w [パスワード]

再度取得してみる。

$ security find-generic-password -a [アカウント名] -s [サービス名] -w
[パスワード]

取れた。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0