A backend for the p≡p Engine built on Sequoia. CI: https://pep-security.lu/gitlab/cid/mirrors/pEpEngineSequoiaBackend/-/pipelines
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
Neal H. Walfield 015c8a2990
Release v1.1.0.
2 weeks ago
.cargo Add ci. 1 year ago
.ci Add ci. 1 year ago
build-win64 add Visual Studio project running nmake 4 months ago
src Add test to make sure decryption works 2 months ago
.codespellrc add NMakefile for Windows support 4 months ago
.gitignore add Visual Studio project running nmake 4 months ago
.gitlab-ci.yml Mark jobs as interruptible 2 months ago
COPYING Add a COPYING file. 2 years ago
Cargo.lock Release v1.1.0. 2 weeks ago
Cargo.toml Release v1.1.0. 2 weeks ago
Makefile copyleft 4 months ago
NMakefile Make the botan backend the default 2 months ago
README.md Make the botan backend the default 2 months ago
build.rs Add botan version 3 support. 2 weeks ago
local.conf.example add Makefile and CI support 4 months ago
local.mak.example add NMakefile for Windows support 4 months ago
pep_engine_sequoia_backend.pc.in Fix pep_engine_sequoia_backend.pc 2 months ago

README.md

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://gitea.pep.foundation/pEp.foundation/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.