Implement Peer to peer mtls#489
Open
ahlem-jarrar wants to merge 19 commits into
Open
Conversation
This significantly overhauls the peer-to-peer connection process to enhance security and user trust. Key changes include: * **Mutual TLS (mTLS):** Both sender and receiver now authenticate each other's certificates, preventing impersonation. * **Two-step hash verification:** The connection flow now guides users through verifying both the receiver's and the sender's certificate hashes. * **Protocol v2:** Introduces explicit protocol versioning for compatibility detection. * **Refactored connection flows:** Updates QR code generation/scanning, client/server SSL contexts, and UI to support the new mTLS and verification steps.
…isplay When a sender chooses manual connection, navigate them directly to the device info screen, bypassing QR code generation and scanning. Additionally, ensure the sender's hash is consistently displayed for verification after both QR and manual registrations, aligning with the two-step verification flow.
edce12d to
eb0b132
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduces mutual TLS (mTLS) for Nearby Sharing connections, establishing cryptographic mutual authentication between devices. This release significantly enhances security and streamlines the manual connection process through a new two-step hash verification flow.