8
0
Fork
You've already forked pEpEngineSequoiaBackend
1
A backend for the p≡p Engine built on Sequoia. CI: https://gitlab.pep.foundation/ci/pepenginesequoiabackend/-/pipelines
  • Rust 98.1%
  • Makefile 1.4%
  • Shell 0.5%
Luca Saiu 192d6a642b build system (install): only install a static or dynamic library if it was built
This is intended for static-only builds, which are currently obtained by
pEp-build patching Cargo.toml .
2026年05月08日 14:14:42 +02:00
.cargo Add ci. 2022年02月07日 16:14:11 +01:00
.ci Add ci. 2022年02月07日 16:14:11 +01:00
build-win64 add Visual Studio project running nmake 2023年02月14日 11:29:50 -05:00
src unify 2026年02月12日 14:13:44 +01:00
.codespellrc CI: add Cargo files to codespell skip-list 2023年09月04日 11:24:49 -04:00
.gitignore WIP: pgp_symmetric_encrypt 2026年02月11日 17:07:26 +01:00
.gitlab-ci.yml CI: disable windows jobs 2023年09月04日 11:24:49 -04:00
AUTHORS documentation 2025年12月11日 10:59:03 +01:00
build.conf.example rename local.conf and local.mak to build.conf and build.mak, 2023年12月07日 18:19:31 +01:00
build.mak.example rename local.conf and local.mak to build.conf and build.mak, 2023年12月07日 18:19:31 +01:00
build.rs Revert "The config for botan 3 is crypto-botan" 2025年12月11日 10:35:24 +01:00
Cargo.lock Upgrade sequoia-openpgp. 2026年02月11日 09:33:46 +01:00
Cargo.toml Upgrade sequoia-openpgp. 2026年02月11日 09:33:46 +01:00
COPYING Add a COPYING file. 2021年08月19日 13:20:30 +02:00
Makefile build system (install): only install a static or dynamic library if it was built 2026年05月08日 14:14:42 +02:00
NEWS build system (install): only install a static or dynamic library if it was built 2026年05月08日 14:14:42 +02:00
NMakefile update legal notices 2024年01月25日 17:48:59 +01:00
pep_engine_sequoia_backend.pc.in Fix pep_engine_sequoia_backend.pc 2023年04月14日 01:26:02 +02:00
README.md update p≡p project URLs and domain 2024年01月25日 17:53:56 +01:00

This library provides an implementation of the pEp Engine's cryptotech interface using Sequoia.

Building

Linux and MacOS

You need at least version 1.63 of rustc and cargo.

You can build this library as follows:

$ git clone https://codeberg.org/pEp/pEpEngineSequoiaBackend.git
$ cd pEpEngineSequoiaBackend
$ make
$ make install

To configure how this library is built, edit local.conf.

When built in debug mode, the library always generates trace output. If you encounter problems in release mode, you can get a trace of the library's execution by setting the PEP_TRACE environment variable.

Windows

On Windows, the Sequoia PGP backend for the pEp engine also uses the Botan backend.

Use the Visual Studio compatible Rust compiler

You can check this by trying:

C:\Users\vb\source\repos\pEpEngineSequoiaBackend> rustup show active-toolchain
1.60.0-x86_64-pc-windows-msvc (default)

Call NMake with the delivered NMakefile

C:\Users\vb\source\repos\pEpEngineSequoiaBackend> nmake /F NMakefile
Microsoft (R) Program Maintenance Utility, Version 14.34.31937.0
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
 cargo build --features crypto-cng --no-default-features --release
 Finished release [optimized] target(s) in 0.20s
Built target\release\pep_engine_sequoia_backend.dll

To get a debug version instead of the release set environment DEBUG=debug

C:\Users\vb\source\repos\pEpEngineSequoiaBackend> nmake /F NMakefile /E DEBUG=debug
Microsoft (R) Program Maintenance Utility, Version 14.34.31937.0
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
 cargo build --features crypto-cng --no-default-features
 Finished dev [unoptimized + debuginfo] target(s) in 0.18s
Built target\debug\pep_engine_sequoia_backend.dll

Unlike with GNU Make, DEBUG must not be defined if you want to build a release.