A backend for the p≡p Engine built on Sequoia. CI: https://gitlab.pep.foundation/ci/pepenginesequoiabackend/-/pipelines
 
 
 
Go to file
Devan Carpenter 2e97ffa215
CI: disable windows jobs
disable windows jobs until we have a windows runner again
2023-09-04 11:24:49 -04: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 Add test to make sure decryption works 2023-04-13 01:11:08 +02:00
.codespellrc CI: add Cargo files to codespell skip-list 2023-09-04 11:24:49 -04:00
.gitignore add Visual Studio project running nmake 2023-02-14 11:29:50 -05:00
.gitlab-ci.yml CI: disable windows jobs 2023-09-04 11:24:49 -04:00
COPYING Add a COPYING file. 2021-08-19 13:20:30 +02:00
Cargo.lock Release v1.1.0. 2023-05-22 12:02:08 +02:00
Cargo.toml Release v1.1.0. 2023-05-22 12:02:08 +02:00
Makefile copyleft 2023-02-07 17:26:25 -05:00
NMakefile Make the botan backend the default 2023-04-14 01:25:56 +02:00
README.md Make the botan backend the default 2023-04-14 01:25:56 +02:00
build.rs Add botan version 3 support. 2023-05-22 11:57:22 +02:00
local.conf.example add Makefile and CI support 2023-01-24 16:54:10 +01:00
local.mak.example add NMakefile for Windows support 2023-02-14 11:29:50 -05:00
pep_engine_sequoia_backend.pc.in Fix pep_engine_sequoia_backend.pc 2023-04-14 01:26:02 +02:00

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.