lifepillar / CSVKeychain

Import/export between Apple Keychain.app and plain CSV file.
351 stars 48 forks source link

Input wrong password, not able to enter correct one... #11

Open TryTryAgain opened 5 years ago

TryTryAgain commented 5 years ago

I entered the wrong password and now when running the script again I'm unable to enter the correct info...how can I resolve that issue?

Getting the error:

This script will be terminated prematurely because the following error has occurred: 

security: SecKeychainUnlock /Users/mlawler/Library/Keychains/login.keychain-db: The user name or passphrase you entered is not correct.
(Error number: 51)
lifepillar commented 5 years ago

Try this: open Keychain.app and unlock the keychain you want to use, then lovk it again. Relaunch the script: it should now ask for the password again.

Does this help?

This has bothered me as well: I should ser if I can fix it.

TryTryAgain commented 5 years ago

Unfortunately, I have not been able to try again. Now when I attempt to export I can't choose the keychain, it's greyed out. Not sure if it's related to attempts at recovering from the password issue I was facing (codesign -vvv /Applications/Utilities/Keychain\ Access.app or something else)?