English 中文(简体)
从终端站移除关键链上的私人钥匙
原标题:Remove private keys from Keychain from Terminal

我有把用户身份输入关键链的文字。 文字删除旧的或重复的证书,并毫无争议地进口新的身份。 但是,私人钥匙从以前的特性中留下来。 我重新阅读了“人的安全”,但我似乎无法找到解决办法。 移走用户在此案中的关键链条不是一种选择。 任何建议?

我认识到,这里还有一个类似的问题:。 用终端从MacOS X关键链中去除私人钥匙,但就我而言,“钥匙链”的答案是可能的。 我将此问题贴上了句子,但一位主持人删除了这个问题。 因此,我在此提出一个新问题。

Thank you!

问题回答

证书和私人钥匙可在以下指挥下拆除:

security delete-identity -Z {certificate-sha1} {keychain-path}

你们可能需要首先打破关键链。





相关问题
Parse players currently in lobby

I m attempting to write a bash script to parse out the following log file and give me a list of CURRENT players in the room (so ignoring players that left, but including players that may have rejoined)...

encoding of file shell script

How can I check the file encoding in a shell script? I need to know if a file is encoded in utf-8 or iso-8859-1. Thanks

Bash usage of vi or emacs

From a programming standpoint, when you set the bash shell to use vi or emacs via set -o vi or set -o emacs What is actually going on here? I ve been reading a book where it claims the bash shell ...

Dynamically building a command in bash

I am construcing a command in bash dynamically. This works fine: COMMAND="java myclass" ${COMMAND} Now I want to dynamically construct a command that redirectes the output: LOG=">> myfile.log ...

Perform OR on two hash outputs of sha1sum

I want perform sha1sum file1 and sha1sum file2 and perform bitwise OR operation with them using bash. Output should be printable i.e 53a23bc2e24d039 ... (160 bit) How can I do this? I know echo $(( ...

Set screen-title from shellscript

Is it possible to set the Screen Title using a shell script? I thought about something like sending the key commands ctrl+A shift-A Name enter I searched for about an hour on how to emulate ...

热门标签