简体   繁体   中英

One or more parameters passed to a function were not valid. in unlock login.keychain

I can't use jenkins to excuse

security unlock-keychain -p my password /Users/huizhaofang123/Library/Keychains/login.keychain

the error is :

password to unlock /Users/huizhaofang123/Library/Keychains/login.keychain:

security: SecKeychainUnlock /Users/huizhaofang123/Library/Keychains/login.keychain: One or more parameters passed to a function were not valid.

plz help! thanks

很简单,就像迈克尔所说的那样,用引号将您的密码括起来或像这样转义空格:

security unlock-keychain -p my\ password /Users/huizhaofang123/Library/Keychains/login.keychain

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM