cryptotensors-koalavault-vllm
KoalaVault Key Provider for CryptoTensors - A secure key management provider for encrypted model deployment with vLLM.
Note: This package is distributed as pre-compiled binaries. The Rust source code is proprietary and not publicly available.
Overview
cryptotensors-koalavault-vllm is a Key Provider implementation for the CryptoTensors library, specifically designed for secure model deployment with vLLM. It provides:
- Secure Key Management: Automatic key retrieval from KoalaVault servers
- Attestation Support: Framework integrity verification for secure deployments
- vLLM Integration: Seamless integration with vLLM for encrypted model serving
- Native Performance: Rust-based implementation with Python bindings
- Binary Distribution: Pre-compiled native libraries for easy installation
Installation
From PyPI
pip install cryptotensors-koalavault-vllm
The package includes pre-compiled binaries for common platforms. No compilation or Rust toolchain is required.
Quick Start
Basic Usage
import cryptotensors
# Initialize the KoalaVault provider
cryptotensors.init_key_provider(
"koalavault-vllm",
api_key="your-api-key",
model_owner="model-owner",
model_name="model-name",
model_path="/path/to/model"
)
# Now you can use cryptotensors to load encrypted models
from cryptotensors import safe_open
with safe_open("model.safetensors", framework="pt") as f:
tensor = f.get_tensor("layer.weight")
With vLLM
The provider is typically initialized automatically when using the KoalaVault vLLM container:
docker run --rm \
-e KOALAVAULT_API_KEY=your-api-key \
-v /path/to/models:/models \
koalavault/vllm:latest \
--koalavault-api-key your-api-key \
--koalavault-model owner/model-name \
--model /models/model-name
Architecture
This package implements the KeyProvider trait from the CryptoTensors core library. When initialized, it:
- Authenticates with the KoalaVault server using the provided API key
- Performs Attestation to verify the framework integrity
- Retrieves Keys for decrypting the encrypted model tensors
- Manages Keys securely in memory without exposing them to Python
API Reference
Python API
cryptotensors.init_key_provider(name, **config)
Initialize and activate a key provider.
Parameters:
name(str): Provider name, must be"koalavault-vllm"api_key(str): KoalaVault API keymodel_owner(str): Model owner identifiermodel_name(str): Model name identifiermodel_path(str): Path to the model directory
Example:
cryptotensors.init_key_provider(
"koalavault-vllm",
api_key="sk-...",
model_owner="my-org",
model_name="my-model",
model_path="/models/my-model"
)
Rust API
The Rust crate provides the KoalaVaultProvider struct that implements the KeyProvider trait. The crate is distributed as a binary library (cdylib) and can be used via FFI:
use cryptotensors::{KeyProvider, CryptoTensorsError};
// Provider is created via FFI function exported from the binary
// extern "C" fn cryptotensors_create_provider() -> *mut dyn KeyProvider
Note: The Rust source code for this provider is proprietary. Only pre-compiled binary libraries are distributed via crates.io.
Security Features
- Signature Verification: All provider libraries are cryptographically signed and verified before loading
- Key Isolation: Cryptographic keys never pass through the Python interpreter
- Attestation: Framework integrity is verified before key retrieval
- Secure Storage: Keys are stored in memory with automatic cleanup
Requirements
- Python >= 3.9
cryptotensorscore library (>= 0.2.0)
Distribution
This package is distributed as pre-compiled binary wheels for:
- Linux (x86_64, aarch64)
- macOS (x86_64, arm64)
- Windows (x86_64)
The Rust source code is proprietary and not available for public inspection or modification. Only the compiled binary libraries are distributed via PyPI and crates.io.
License
This package is distributed under a proprietary license. The binary libraries are provided for use with the CryptoTensors ecosystem. See the package metadata for specific license terms.
Links
Support
For issues and questions, please contact KoalaVault support or refer to the official documentation.
Metadata
Release files for cryptotensors-koalavault-vllm 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| cryptotensors_koalavault_vllm-0.1.0.tar.gz | 125.9 kB | With provenance | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-musllinux_1_2_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux musl 1.2+ x86-64 | Details |
| cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-musllinux_1_2_aarch64.whl | CPython 3.11 | CPython 3.11 | Linux musl 1.2+ ARM64 | Details |
| cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.17+ x86-64 | Details |
| cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.17+ ARM64 | Details |
| cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-macosx_11_0_arm64.whl | CPython 3.11 | CPython 3.11 | macOS 11.0+ ARM64 | Details |
| cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl | CPython 3.11 | CPython 3.11 | macOS 10.12+ x86-64 | Details |
Total release size: 16.2 MB
Release files / cryptotensors_koalavault_vllm-0.1.0.tar.gz
| Download URL | cryptotensors_koalavault_vllm-0.1.0.tar.gz |
|---|---|
| Size | 125.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
488a3c019076f9c8a33db52e3c52ca1867d72790db47d2daa10a057269d20c1d
|
|
BLAKE2b-256 checksum How to use checksums |
cdf2231819dfabc3fd429926bfb6e5c29a6bfe36ff9bf1d90fc0af7c284bdbd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 3, 2026.
Transparency logRelease files / cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-musllinux_1_2_x86_64.whl
| Download URL | cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | CPython 3.11 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
adb19137ccaddfebd971b0e4c3d43cca30de2e1bb5252ebbdc16f9076701f8e7
|
|
BLAKE2b-256 checksum How to use checksums |
54642468ca5bdf594f9f5acb25233ec80fd912ae08ce0301af2f06052c363006
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 3, 2026.
Transparency logRelease files / cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-musllinux_1_2_aarch64.whl
| Download URL | cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 2.8 MB |
| Tags | CPython 3.11 Linux musl 1.2+ ARM64 |
|
SHA-256 checksum How to use checksums |
943aa23603abd33d5712ee81238d1f20757a51befa029cfd313a27ea7d31d836
|
|
BLAKE2b-256 checksum How to use checksums |
f0f6a149a9843910cb10385233b9f79c21f87415bbb9f532bf3400864485399d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 3, 2026.
Transparency logRelease files / cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 2.8 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
d12c794e10dbf944de23b210773ee9817a35251e25d26afd1080005f486df369
|
|
BLAKE2b-256 checksum How to use checksums |
cc04db935080ceda8c7a322121a1e0697288198ad3eb2267eebc8ee585f64859
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 3, 2026.
Transparency logRelease files / cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 2.6 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
91f39b0344bde55cb87793b7324e6b4ad87e0f01762b77de41a842b9b3d6b50f
|
|
BLAKE2b-256 checksum How to use checksums |
492535fcb1b6f073e479e34c3d3b728f8d0630eea0a361d67a977fb13bd45fca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 3, 2026.
Transparency logRelease files / cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
8fa408921d6d8325b6f82c88d9668ee264a2639733e87164a2a6d0591091bca7
|
|
BLAKE2b-256 checksum How to use checksums |
31a64f70eaf539af4d9ad9eb02086146cc944df829e4142d1a285f68270e909f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 3, 2026.
Transparency logRelease files / cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl
| Download URL | cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.11 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
c08569242b3f85a70e04abec8bde439e906f35f8e6ace9e3c0e118b5ce7123ca
|
|
BLAKE2b-256 checksum How to use checksums |
03eff5e67c10eccc239b2ec3fb707c07e18185df7b13476ddd166e0dd339ebda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 3, 2026.
Transparency logSecurity for cryptotensors-koalavault-vllm 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 7 files in this release have been uploaded with provenance metadata.
Attestation for cryptotensors_koalavault_vllm-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 3, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.