Lighthouse
  • πŸ‘‹Introduction
  • Quick Start
  • How To
    • πŸ”‘Create an API Key
    • πŸ”ΌUpload Data
      • πŸ“File
      • πŸ”€Text/JSON
      • πŸ”€Buffer
    • πŸ”’Upload Encrypted Data
      • πŸ“File
      • πŸ”€Text/JSON
      • πŸ”Encryption Authentication
        • πŸ“Method 1: Signed Message
        • βš•οΈMethod 2: JWT
        • πŸ“²Method 3: Passkey
    • Encryption Features
      • πŸ‘―Share File
      • ❌Revoke Access
      • πŸ”‘Check Access Conditions
      • πŸšͺToken Gating
      • Chains Supported
      • πŸ“ƒAccess Control Conditions
      • πŸ”“Decrypt File
        • 🌐Browser Decrypt File
        • πŸ’»NodeJS Decrypt File
      • πŸšͺAccess control with zkTLS
      • πŸ‘¬Account Delegation Tutorial
    • πŸ“‚List Files
    • πŸ’File Info
    • πŸ’°Get Balance
    • πŸ”Retrieve File
    • πŸ’ΎCheck for Filecoin Deals
    • πŸ”„IPNS - Handle Mutable Data
    • πŸ“¦Migrate Files
    • πŸ“ŒPin CID
    • πŸ’ΈPay per use
    • Resize Image
    • πŸ’»Use CLI Tools
  • zkTLS
  • 🀝Account Delegation
  • πŸ’ΎFilecoin First
    • Usage
    • πŸ’°Pay Per Deal
  • Tutorials
    • πŸ’ΈPay to View Application
    • Use Python SDK
    • πŸ“Update Content with Lighthouse IPNS
    • πŸ“ΉAdd Video Player in UI
    • βœ…Document Verification with PoDSI
    • 🎨Minting NFTs on EVM Chains
    • πŸͺ™Minting NFTs on Solana
    • πŸ‘©β€πŸ’»Programmable Storage with Lighthouse SDK and Filecoin
    • πŸ”Secure File Sharing
    • Upload Encrypted Files
    • πŸ“„Token Gating and Custom Contract
    • πŸ”‘Token Gating NFTs
    • πŸ–οΈPushing File Metadata Onchain
    • Use Radix Wallet on Lighthouse Filesdapp
  • Concepts
    • Glossary
    • IPFS CID Transition to v1
  • Support
    • πŸ“žContact
Powered by GitBook
On this page
  • Introduction to zkTLS
  • How zkTLS Works in Lighthouse
  • Demo

Was this helpful?

Edit on GitHub

zkTLS

PreviousUse CLI ToolsNextAccount Delegation

Last updated 6 months ago

Was this helpful?

Introduction to zkTLS

zkTLS (Zero-Knowledge Transport Layer Security) is a cryptographic protocol that uses Zero-Knowledge Proofs (ZKPs) to verify data authenticity without revealing sensitive information. It enhances privacy compared to traditional TLS (Transport Layer Security) by confirming key details like user identity or data origin without exposing the actual data. This is particularly useful for web3 applications where privacy is crucial.

Currently, Lighthouse supports zkTLS proof generation via the Reclaim Protocol, with plans to being agnostic of zkTLS providers in the future

How zkTLS Works in Lighthouse

The integration of zkTLS with decentralized storage enables secure, verifiable access to encrypted data stored on IPFS. Here is an outline of how it works:

  1. Proof Generation : Users generate zero-knowledge proofs (ZKPs) using a zkTLS provider, such as Reclaim Protocol. These proofs can be based on verifiable data, like a user’s physical location or other verifiable attributes.

  2. Proof Submission and Verification : The generated zkTLS proof is submitted to the Lighthouse Threshold Network, where it is verified by decentralized nodes. Lighthouse ensures the proof meets predefined access conditions (such as verifying location or identity) .

  3. Access to Encrypted Data : Once the zkTLS proof is verified, Lighthouse grants access to the encrypted data stored on decentralized networks.

Demo

Checkout how to use zkTLS in lighthouse