Skip to content

Installation

Python

From PyPI (when published)

pip install harbour-credentials

From Source

git clone https://github.com/reachhaven/harbour-credentials.git
cd harbour-credentials

# Create virtual environment
python -m venv .venv

# PowerShell
.\.venv\Scripts\Activate.ps1

# macOS / Linux / Git Bash
source .venv/bin/activate

# Install with dev dependencies
pip install -e ".[dev]"

Development Setup

make setup
make install dev

TypeScript

From npm (when published)

npm install @reachhaven/harbour-credentials

From Source

git clone https://github.com/reachhaven/harbour-credentials.git
cd harbour-credentials/src/typescript/harbour

corepack yarn install
corepack yarn build

Verify Installation

Python:

python -m harbour.keys --help
make test

TypeScript:

npm test

Dependencies

Python

  • cryptography — Cryptographic primitives
  • joserfc — JOSE/JWT implementation
  • sd-jwt — SD-JWT implementation

TypeScript

  • jose — JOSE/JWT implementation
  • @sd-jwt/core — SD-JWT implementation