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

Support for providing a public key hash in peer lists #360

Open
xloem opened this issue Apr 3, 2022 · 1 comment
Open

Support for providing a public key hash in peer lists #360

xloem opened this issue Apr 3, 2022 · 1 comment

Comments

@xloem
Copy link

xloem commented Apr 3, 2022

Would it be possible to upgrade the protocol so that peers can be associated with a public key hash, so that their identity could be verified if they support TLS communication?

This would help prevent censorship.

@xloem
Copy link
Author

xloem commented Jan 7, 2024

I spent some time working with cosmos family blockchains, and in their protocol this is already done. Each peer connection is encrypted and gossips the public keys of its neighbors.

I mention this because I recently encountered this issue regarding ar-io's gateway system, posted in discord (scroll right to see cert errors):

HTTPSConnectionPool(host='olpakmetehan.site', port=443): Max retries exceeded with url: /height (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1000)')))
HTTPSConnectionPool(host='genesisprime.site', port=443): Max retries exceeded with url: /height (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1000)')))
HTTPSConnectionPool(host='valarian.xyz', port=443): Max retries exceeded with url: /height (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1000)')))
HTTPSConnectionPool(host='mpiicha.games', port=443): Max retries exceeded with url: /height (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)')))
HTTPSConnectionPool(host='saktinaga.live', port=443): Max retries exceeded with url: /height (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1000)')))

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

2 participants
@xloem and others