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 — GitHub - Dentity-Development/okapi: Collection of tools that support workflows for authentic data and identity management. Libraries available in most languages.

BranchesTags
Open more actions menu

Latest commit

 

History

541 Commits
541 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
android
android
 
 
dart
dart
 
 
devops
devops
 
 
docs
docs
 
 
dotnet
dotnet
 
 
go
go
 
 
include
include
 
 
java
java
 
 
libs
libs
 
 
native
native
 
 
proto
proto
 
 
python
python
 
 
swift @ 11a69b8
swift @ 11a69b8
 
 
wasm
wasm
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
Initialize.ps1
Initialize.ps1
 
 
Initialize.py
Initialize.py
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
buf.work.yml
buf.work.yml
 
 
package-lock.json
package-lock.json
 
 
renovate.json
renovate.json
 
 

Repository files navigation

Tools and libraries for managing digital identity

Golang Java Platform Libraries Python Wasm

Test Coverage

codecov

This repo provides bindings in all popular languages for the core Okapi functionalities:

  • Support for working with did:key method
  • Security tools for authentication with Oberon
  • Experimental implementation of DIDComm Messaging protocol for gRPC
  • Linked Data Proofs using non-LD processing signatures, such as JcsEd25519Signature2020
  • On the roadmap: BBS+ Signatures

Library is available for use with different languages

Go) Nuget npm PyPI Rust Swift

Installation

See the language specific README in each folder of this repo for usage. Additionally, check the okapi-examples for some quick sample applications.

Native Libraries

If the bindings in your language require the native libraries to be installed on your system (like Go, Python, Java, etc), you can use one of the following methods to install them:

Homebrew (MacOS and Linux)

We maintain a Homebrew Tap with bottles for MacOS and Linux. To install run:

brew install trinsic-id/tap/okapi

dpkg for Linux

You can find .deb packages for your platform with each release. These can be installed using dpkg. Choose the package for your architecture. The packages will install the required libraries and header files.

wget https://github.com/trinsic-id/okapi/releases/download/v1.1.0/okapi_1.1.0_amd64.deb

dpkg -i okapi_1.1.0_amd64.deb

win-get for Windows

winget install okapi

Library and API structure

The main library is built in Rust and exposed to other languages through a C-callable FFI. The function signatures for each method are exposed as byte arrays, that use Protobuf for the main IDL. This allows easy development and maintainance of new methods, with minimal language specific implementation.

All library methods are exposed via static method calls, generally grouped under a dedicated class in the Okapi namespace (where available).

For example, to generate new key using .NET you can use the DIDKey class.

For mathematical languages and environments, use the Python packages. Examples for MATLAB, Mathematica, R(lang), etc. can be found here: https://github.com/trinsic-id/okapi-examples

using Okapi.Keys;

var key = DIDKey.Generate(new GenerateKeyRequest { KeyType = KeyType.Ed25519 });

The same functionality for Node is exposed as:

import * from "okapi";

let request = new GenerateKeyRequest();
request.setKeyType(KeyType.Ed25519);

var key = DIDKey.generate(request);

API Reference

DIDKey

  • generate
  • resolve

DIDComm

  • pack
  • unpack
  • sign
  • verify

LdProofs

  • create_proof
  • verify_proof

Oberon

  • create_key
  • create_token
  • blind_token
  • unblind_token
  • create_proof
  • verify_proof

Development

Compile Protobuf

Some languages have support for compiling the protobuf definitions directly (.NET, node, rust), some (Java, Go, Python) require use of a separate Python script located ./devops/generate_proto_files.py. The github action Push to buf.build will also create a branch called update-protobuf-generated-files with any changes.

Stats

Alt

About

Collection of tools that support workflows for authentic data and identity management. Libraries available in most languages.

Topics

didself-sovereign-identityverifiable-credentialszkp

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Security policy

Security policy
Activity
Custom properties

Stars

28 stars

Watchers

9 watching

Forks

10 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — 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.