finmath-decryption-oracle-encrypted-hashed-keys
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>net.finmath</groupId>
<artifactId>finmath-decryption-oracle-encrypted-hashed-keys</artifactId>
<version>2.4.8</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>net.finmath</groupId>
<artifactId>finmath-decryption-oracle-parent</artifactId>
<version>2.4.8</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>finmath-decryption-oracle-encrypted-hashed-keys</artifactId>
<packaging>jar</packaging>
<name>Decryption Oracle: Encrypted Hashed Keys (ERC-7573)</name>
<description>Reference implementation of a decryption oracle for encrypted hashed keys (DvP/SDC).</description>
<url>https://finmath.gitlab.io/finmath-decryption-oracle</url>
<dependencies>
<!-- reuse shared crypto/web3/config -->
<dependency>
<groupId>net.finmath</groupId>
<artifactId>finmath-decryption-oracle-base</artifactId>
<version>${project.version}</version>
</dependency>
<!-- Spring Boot web + thymeleaf -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
<!-- Tests -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<!-- this module builds an executable Spring Boot JAR -->
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.5.0</version>
<!-- generate secrets for testing -->
<executions>
<execution>
<id>generate-secrets-for-tests</id>
<phase>generate-test-resources</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<!-- don't do this when tests are skipped -->
<skip>${skipTests}</skip>
<!-- run "as if" we are in the module -->
<workingDirectory>${project.basedir}</workingDirectory>
<executable>bash</executable>
<arguments>
<!-- module is one level below repo root -->
<argument>${project.basedir}/../scripts/generate-keys.sh</argument>
</arguments>
<!-- tell the script where to write -->
<environmentVariables>
<SECRETS_DIR>${project.basedir}/secrets</SECRETS_DIR>
</environmentVariables>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<!-- Solidity profile moved here; paths now under this module -->
<profiles>
<profile>
<id>solidity</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.6.2</version>
<executions>
<execution>
<id>compile-solidity</id>
<phase>generate-sources</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>solc</executable>
<arguments>
<argument>--optimize</argument>
<argument>--evm-version</argument>
<argument>paris</argument>
<argument>--abi</argument>
<argument>--bin</argument>
<argument>-o</argument>
<argument>${project.build.directory}/solc</argument>
<argument>${project.basedir}/src/main/solidity/KeyDecryptionOracle.sol</argument>
<argument>${project.basedir}/src/main/solidity/DummyDecryptionOracleCallback.sol</argument>
<argument>--overwrite</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<developers>
<developer>
<id>fries</id>
<name>Christian Fries</name>
<email>email@christian-fries.de</email>
<url>http://www.christian-fries.de</url>
<timezone>1</timezone>
</developer>
</developers>
</project>