-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Julius Hardt edited this page Oct 17, 2021
·
2 revisions
You can try the composer (GUI for the ComposableCrypto model) and the OpenAPI specification generation in your browser without having to install any software: https://www.julius-hardt.de/ComposableCrypto/
-
/App
: ComposableCrypto main application (Blazor WebAssembly app). This contains the GUI for building the tree of cryptographic components, the algorithm -
/ComposableCrypto-java
: Java component system and parts of the integration of ELSA -
/CrySLRules
: CrySL rules for the client portion of ELSA -
/ELSACCGenIntegration
: Code template for the ELSA client -
/Host
: WebView to host the ComposableCrypto main application in a native window when opened via CogniCrypt's code generation wizard
- Install .NET 5.
- Open to the directory
App
:cd App
- Run
dotnet build
- Open the directory of the main project:
cd ComposableCrypto
- Execute
dotnet run
- Open your web browser and visit
http://localhost:5000
.
- Install a Java Development Kit (JDK 1.8 or higher).
- Open
ComposableCrypto-java
. -
ComposableCrypto-java
is a Gradle project. Execute./gradlew build
to build the library. The resulting JAR appears underbuild/libs
.
Currently, the full integration into Eclipse only works under Windows (because we use the MSVC C++ compiler).
- Install Visual Studio 2022 with the C++ workload.
- Open the Visual Studio Developer Command Prompt.
- Go to
Host/ComposableCryptoHost
: cd...\Host\ComposableCryptoHost
. - Run
nmake
to build the project. - A file
ComposableCryptoHost.exe
is generated. Add the directory containing this file to thePATH
of your system. To do so, type Win+R, enterrundll32 sysdm.cpl,EditEnvironmentVariables
and add the directory containingComposableCryptoHost.exe
to your PATH. - Follow the instruction in the document
Howto_run_CogniCrypt_from_Sources.pdf
to set up a development environment for Eclipse. This document is currently not public and can be requested by the maintainer of this project. For the CogniCrypt repository, usehttps://github.com/juliushardt/CogniCrypt
instead ofhttps://github.com/eclipse-cognicrypt/CogniCrypt
. Use the branchfeature/tast_integrator_bachelorpraktikum
for CogniCrypt. For CryptSL, use thedevelopment
branch and the repo linked in the document. - Open the development instance of Eclipse in which CogniCrypt runs from sources, as described in (
Howto_run_CogniCrypt_from_Sources.pdf
). - Open the CogniCrypt preferences window (Window > Preferences > CogniCrypt). Click "Browse local rules directory" and set it to the
CrySLRules
directory of this repository. - Start the integrator (while "E" in a green circle in the toolbar), choose "Import mode" and import the file
LongTermSecureArchiving.zip
from theCrySLRules
folder in this repository. - After importing the task for ELSA, restart Eclipse. After that, the sample task for ELSA should be available.