Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"The Trust Settings Record was corrupted." error on macOS... and solution. #58

Closed
varenc opened this issue Jun 7, 2023 · 1 comment
Closed

Comments

@varenc
Copy link

varenc commented Jun 7, 2023

While trying to setup gdrive I got this error on my macOS machine:

...
thread 'main' panicked at 'could not load platform certs: Custom { kind: Other, error: Error { code: -25262, message: "The Trust Settings Record was corrupted." } }', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper-rustls-0.23.2/src/config.rs:31:62

The key message being "The Trust Settings Record was corrupted.". The first thing I did was search this project's issues and didn't find any other hits.

Turns out this is an obscure issue in rustls-native-certs. You can find a smattering of discussion about it online but this issue was the most helpful. If you're having the same problem, in particular just follow @12f23eddde instructions here for identifying the "invalid" certificate causing the error.

Hope this helps others!

@varenc
Copy link
Author

varenc commented Jun 7, 2023

Closing this since I linked to instructions for fixing the error. Just wanted to add this is an issue to help others. Cheers!

@varenc varenc closed this as completed Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant