Skip to content

This repository provides several crates for cryptographic operations at Proton

License

Notifications You must be signed in to change notification settings

ProtonMail/proton-crypto-rs

Repository files navigation

Proton Cryptography Rust

This workspace provides several utility crates for cryptographic operations within Proton.

Core Proton Crypto

The proton-crypto crate contains the core library for crypto operations. In particular:

  • It defines a generic API for OpenPGP operations, which is the core cryptographic protocol in most products. An implementation of the API can be accessed through new_pgp_provider providing a default PGPProvider.
  • An implementation of the PGPProvider using GopenPGP via the gopenpgp-sys wrapper.
  • SRP API for authentication and an implementation using GopenPGP via the gopenpgp-sys wrapper. The default SRP provider can be accessed via new_srp_provider.

Account Proton Crypto

The proton-crypto-account crate provides Proton key models (e.g., User Keys, Address keys, etc.) and key management operations building on proton-crypto. Note that the crate re-exports the underlying proton-crypto dependency.

Others

proton-srp

A pure Rust implementation of Proton's version of the Secure Remote Password (SRP) protocol.

gopenpgp-sys

Rust API calling GopenPGP.

proton-device-verification

Implements device verification for clients.

About

This repository provides several crates for cryptographic operations at Proton

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published