GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 2fapi-sdk/packages/protocol-spec at main · gthstepsecurity/2fapi-sdk

Expand file tree

/

protocol-spec

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

protocol-spec

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
spec
spec
 
 
src
src
 
 
LICENSE
LICENSE
 
 
NOTICE
NOTICE
 
 
README.md
README.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 

README.md

Outline

@2fapi/protocol-spec

Canonical protocol specification for Continuum Ghost Zero-Knowledge Proof Authentication.

Part of the Continuum Ghost authentication platform — The Secret That Doesn't Exist.

This package contains no implementation — only constants, types, and interfaces that define the @2fapi protocol. It is the shared contract between clients and servers.

Installation

npm install @2fapi/protocol-spec

What's Included

  • Protocol constants: version, domain separation tags, byte lengths
  • TypeScript interfaces: TranscriptFields, ProofData, ChallengeData, CommitmentData
  • Error codes: canonical error codes for all protocol operations
  • Specification documents: canonical Fiat-Shamir transcript format, test vectors

Protocol Overview

Continuum Ghost uses a Schnorr/Sigma proof system over Ristretto255 with Pedersen commitments:

  • Commitment: C = s·G + r·H (client stores secret, server stores commitment)
  • Proof: Sigma protocol with Fiat-Shamir transform for non-interactivity
  • Security: 128-bit under DLOG assumption in Random Oracle Model
  • Transcript: Length-prefixed canonical serialization with domain separation

Specification

See spec/protocol.md for the full protocol specification.

License

Apache-2.0 — Free for any use.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.