Skip to content

Implement Peer to peer mtls#489

Open
ahlem-jarrar wants to merge 19 commits into
developfrom
feat/tella_mtls
Open

Implement Peer to peer mtls#489
ahlem-jarrar wants to merge 19 commits into
developfrom
feat/tella_mtls

Conversation

@ahlem-jarrar

@ahlem-jarrar ahlem-jarrar commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

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.

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.
@ahlem-jarrar ahlem-jarrar self-assigned this Jun 18, 2026
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

Successfully merging this pull request may close these issues.

1 participant