Is it possible to list running processes that are not signed or notarized?
-
29-05-2021 - |
Pergunta
This would be interesting in general but also helpful in diagnosing the frequent appearance of MacOS error: -67062
in the Console.
Edit: in response to comments, the question is more specifically about trying to find out which processes are running that are NOT signed (or notarized).
Finding all running processes is trivial, but finding out whether their signed status seems to be tricky.
Solução
You will need to write a short script to gather this information.
Obtaining a list of processes is possible with ps
and code signatures of processes can be checked with codesign
.
codesign
The codesign
command can be passed process identifiers, pid
. To verify the signatures of two running processes call:
/usr/bin/codesign -d -vvvv 279 422
The flags are:
-d
for validation-vvvv
to increased verbosity279
the first process identifier to check422
the second process identifier to check
Licenciado em: CC-BY-SA com atribuição
Não afiliado a apple.stackexchange