-
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-javais a Gradle project. Execute./gradlew buildto 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
nmaketo build the project. - A file
ComposableCryptoHost.exeis generated. Add the directory containing this file to thePATHof your system. To do so, type Win+R, enterrundll32 sysdm.cpl,EditEnvironmentVariablesand add the directory containingComposableCryptoHost.exeto your PATH. - Follow the instruction in the document
Howto_run_CogniCrypt_from_Sources.pdfto 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/CogniCryptinstead ofhttps://github.com/eclipse-cognicrypt/CogniCrypt. Use the branchfeature/tast_integrator_bachelorpraktikumfor CogniCrypt. For CryptSL, use thedevelopmentbranch 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
CrySLRulesdirectory of this repository. - Start the integrator (while "E" in a green circle in the toolbar), choose "Import mode" and import the file
LongTermSecureArchiving.zipfrom theCrySLRulesfolder in this repository. - After importing the task for ELSA, restart Eclipse. After that, the sample task for ELSA should be available.