Skip to content

CAPP (Contextual Authentication Presentation Protocol) defines a minimal, pre-consented, context-aware mechanism for presenting Verifiable Credentials in physical or predictable digital environments

License

Notifications You must be signed in to change notification settings

hopae-official/capp-spec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CAPP: Contextual Authentication Presentation Protocol

πŸ“¦ Official repository: hopae-official/capp-spec

CAPP is a lightweight, context-aware, zero-interaction protocol for presenting verifiable credentials (VCs) in physical environments like buildings, transit systems, and events. It enables fast, frictionless, one-step authentication without requiring challenge-response flows or manual user consent.

✨ Key Features

  • Pre-Consented Disclosure: Based on holder-configured consent profiles
  • Verifier-Optional Mode: No real-time challenge required
  • Offline/Passive Trigger: NFC, QR, BLE or context signals
  • Minimal Disclosure: Purpose-bound, ephemeral, and pseudonymous
  • Edge Ready: Fully local, no live server lookup required

πŸ”„ Protocol Flow

  1. Preparation: Holder creates CAPP-ready VP with claims and consent profile
  2. Trigger: Device detects NFC/QR/URI signal from verifier
  3. Consent Match: Device matches stored profile (e.g., purpose, location, time)
  4. Auto-Present: VP sent over HTTPS/DIDComm to verifier endpoint

πŸ§ͺ Get Started

  1. Clone repo
git clone https://github.com/hopae-official/capp-spec
cd capp-spec
  1. Run verifier demo
node src/capp-verifier-server.js
  1. Open example in browser and scan QR / tap NFC

πŸ“œ License

MIT Β© 2025 Hopae Inc.


🀝 Contributions

Please see CONTRIBUTING.md for how to get involved

About

CAPP (Contextual Authentication Presentation Protocol) defines a minimal, pre-consented, context-aware mechanism for presenting Verifiable Credentials in physical or predictable digital environments

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •