ducaale/xh

The Trust Settings Record was corrupted Issue

Opened this issue · 1 comments

dj1020 commented

I never install xh and I used brew install xh to install, then try to execute xh httpbin.org/json

and got this error message

xh: error: builder error: The Trust Settings Record was corrupted.

Caused by:
    The Trust Settings Record was corrupted.

in the mean time, I can use curl httpbin.org/json to get the correct resposne.

I tried to find similar issues, and delete rm -f /Library/Security/Trust Settings/Admin.plist and even

sudo rm -rf /Library/Developer/CommandLineTools then reinstall command line tools with xcode-select --install.

nothing works.

Pls tell me what other info may I provide to help solve this.

My OS ver (Ventura): 13.3.1
Terminal: Alacritty 0.12.0
xh --version: 0.18.0

Do you encounter a similar issue if you pass the --native-tls flag? Note that this option is not available in the Homebrew version yet, so you would need to use the binaries that we distribute instead

curl -sfL https://raw.githubusercontent.com/ducaale/xh/master/install.sh | sh