Skip to content

winterdeaf/privacypass-lib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kagi Privacy Pass Core Library

This repository contains the source code of the core library implementing the Privacy Pass API used by Kagi. This repository is not meant to be used as stand-alone, but rather as a submodule for other projects.

Disclaimers about this fork

This is an LLM-assisted port of the privacy pass core library, with the following two goals:

  1. Update the rust toolchain from v1.84 to v1.94;
  2. Update the dependencies: switch to current versions of privacypass, voprf and blind-rsa-signatures.

This required some hacks (mostly in the form of privacypass patches) in order to maintain wire format compatibility with the Kagi servers. Note that neither this fork, nor privacypass have been audited, and I did not review all of the LLM-edited changes in detail.

Building using Docker

To build this library, install Docker and run

bash build.sh

If using Podman, run

DOCKER=podman bash build.sh

The output library will be found in /build.

Building on host machine

Installing the build dependencies

To build this project directly on your host machine, you need rust and wasm-pack.

You can obtain Rust by using rustup, and wasm-pack by using its installer.

Building the library

Once the above dependencies were obtained, run

cd src
bash build.sh

The output library will be found in /src/wasm/pkg.

About

Library implementing the core Privacy Pass protocol API, updated privacypass-rs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 91.2%
  • HTML 4.5%
  • Shell 2.8%
  • Other 1.5%