Outlook_Addin_LLM/node_modules/office-addin-dev-certs/scripts/uninstall.sh

6 lines
167 B
Bash
Raw Permalink Normal View History

#!/bin/bash
hashes=$(security find-certificate -c "$1" -a -Z | grep SHA-1 | awk '{ print $NF }')
for hash in $hashes; do
security delete-certificate -Z $hash
done