Add durable multi-authority OCSP responders with strict request parsing, issuer-bound serial lookup, stable revocation views, signed responses, nonce policies and bounded protocol execution. Complete in-process and packaged OCSP validation and close the PKI server after the final architecture, security and release audit.
49 lines
1.2 KiB
Groovy
49 lines
1.2 KiB
Groovy
plugins {
|
|
id 'buildlogic.java-library-conventions'
|
|
id 'application'
|
|
id 'com.palantir.git-version'
|
|
}
|
|
|
|
group = 'org.egothor'
|
|
|
|
configurations {
|
|
mockitoAgent
|
|
}
|
|
|
|
dependencies {
|
|
api project(':pki')
|
|
implementation project(':lib')
|
|
implementation platform('tools.jackson:jackson-bom:3.1.5')
|
|
implementation 'tools.jackson.core:jackson-core'
|
|
testImplementation 'org.bouncycastle:bcpkix-jdk18on:1.84'
|
|
testImplementation 'org.mockito:mockito-core:5.23.0'
|
|
mockitoAgent('org.mockito:mockito-core:5.23.0') {
|
|
transitive = false
|
|
}
|
|
}
|
|
|
|
application {
|
|
mainClass = 'zeroecho.pki.server.PkiServerMain'
|
|
applicationName = 'zeroecho-pki-server'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
dependsOn tasks.named('installDist')
|
|
jvmArgs("-javaagent:${configurations.mockitoAgent.singleFile}")
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes(
|
|
'Main-Class': application.mainClass,
|
|
'Implementation-Title': 'ZeroEcho PKI Server',
|
|
'Implementation-Version': "${version}"
|
|
)
|
|
}
|
|
}
|
|
|
|
javadoc {
|
|
options.links("https://www.egothor.org/javadoc/zeroecho/lib")
|
|
options.links("https://www.egothor.org/javadoc/zeroecho/pki")
|
|
}
|