Skip to main content

KASLCred : KERI and ACDC Schema Linker for Credentials

Computes self addressing identifiers (SAIDs) for KERI and ACDC schema parts and links them together by SAID.

Usage

python -m kaslcred [schema_dir] [output_dir] [schema_map_file.json]

# Example:
# Requires having pre-written and pre-copied all of the schema files into ${KASL_HOME}/schemas
export KASL_HOME=${HOME}/.kasl
python -m kaslcred ${KASL_HOME}/schemas ${KASL_HOME}/results ${KASL_HOME}/schemas/schema_map.json

Installation

Docker

Manual Local Installation

  1. Install Python
  2. Install the Rust Toolchain: https://www.rust-lang.org/tools/install\ This is for the Blake3 crypto library built when installing KERI.
  3. Install KERI: pip install keri==0.6.8
  4. Install KASLcred

Dependencies

KASLCred depends on the following libraries being installed:

Rust toolchain (for Blake3 dependency)

Libsodium

The Homebrew installation of Libsodium is not sufficient, or did not work for me. I had to do the following instructions like stated in Libsodium's Gitbook Installation documentation

Download a tarball of libsodium, preferably the latest stable version, then follow the ritual:

./configure
make && make check
sudo make install

KERIpy version 1.0.0

python -m pip install keri=1.0.0

KERIpy further depends on the following set of dependencies being installed:

Rust v1.60+

This is required for Blake3 dependency in KERI to be able to build.

# the "-s -- -y" options are for a silent, unattended install. Omit them if you want to configure the install.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
# Remember to set the PATH variable to include the Cargo binary directory like so:  PATH="$HOME/.cargo/bin:$PATH

Development

Make sure to create a local environment with Pipenv.

Then install the Python build tool with pip install build and the release tool with pip install twine.

Installing from the root repo directory:

python3 -m pip install -e ./

Metadata

Release files for kaslcred 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kaslcred 0.1.6
File Size Uploaded
kaslcred-0.1.6.tar.gz 38.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kaslcred 0.1.6
File Interpreter ABI Platform
kaslcred-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 49.1 kB

Release files / kaslcred-0.1.6.tar.gz

Download URL kaslcred-0.1.6.tar.gz
Size 38.8 kB
Tags Source
SHA-256 checksum
How to use checksums
aa7a1c31e736ce089770d6efa2b207d8b42288b365f537adf7d3f2093ec6f246
BLAKE2b-256 checksum
How to use checksums
326652acc52b9c1b0617d5be4cc32e9784514cd1b35764f3bfb3cc49b3b1d7d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Release files / kaslcred-0.1.6-py3-none-any.whl

Download URL kaslcred-0.1.6-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e3b43861029c980ad5bd4004435cf95febc035657fd8dafc40165d9e6019c4d
BLAKE2b-256 checksum
How to use checksums
c28af4c3f26c85a883873954aaf958c9f06b782e652857d7a8e1a3388b45edb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page