CI Codacy Badge

eXist-db implementation for EXPath Cryptographic Module

This is an eXist-db implementation of the EXPath HTTP Crypto Module specification.

Building from source

Requires: * Java 21 or newer * Maven 3.9 or newer

bash $ git clone https://github.com/eXist-db/expath-crypto-module.git $ cd expath-crypto-module $ mvn clean package

This will create a "expath-crypto-module-.xar" file in the target folder. The .xar file can be uploaded to any eXist-db version > 7.0.0-SNAPSHOT via the Dashboard.

Currently implemented functions

Currently implemented algorithms

Documentation

For the latest version of the specification for this module see http://expath.org/spec/crypto/editor.

The implementation follows this specification.

Security considerations

The crypto module is a security-sensitive library and operates on XML documents that may come from untrusted sources. A few things to know when deploying or auditing it:

If you find what you believe is a security issue, please follow the eXist-db security policy rather than opening a public issue.

Unit Tests

Unit Tests use XQSuite and can be found in the src/test/xquery/crypto folder.

To run tests:

bash $ mvn verify