<feed xmlns='http://www.w3.org/2005/Atom'>
<title>moa-zs/src/main/resources/moa-spss, branch master</title>
<subtitle>Middleware that allows a sender application to send delivery requests to delivery services</subtitle>
<id>https://git.egiz.gv.at/moa-zs/atom?h=master</id>
<link rel='self' href='https://git.egiz.gv.at/moa-zs/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.egiz.gv.at/moa-zs/'/>
<updated>2019-08-23T12:57:28+00:00</updated>
<entry>
<title>Moved Config Files From main/resources/ To test/resources/config</title>
<updated>2019-08-23T12:57:28+00:00</updated>
<author>
<name>Christof Rabensteiner</name>
<email>christof.rabensteiner@iaik.tugraz.at</email>
</author>
<published>2019-08-21T13:27:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.egiz.gv.at/moa-zs/commit/?id=763724b04d25d07fce5559c1d7a6c12badab937c'/>
<id>urn:sha1:763724b04d25d07fce5559c1d7a6c12badab937c</id>
<content type='text'>
- Reason: Integration tests need configuration, but config files
  should not be packaged into the final artifact.
- Update paths.
</content>
</entry>
<entry>
<title>Finalize moa-sig-lib's Integration and Add Testcase</title>
<updated>2019-06-19T08:46:15+00:00</updated>
<author>
<name>Christof Rabensteiner</name>
<email>christof.rabensteiner@iaik.tugraz.at</email>
</author>
<published>2019-06-19T08:46:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.egiz.gv.at/moa-zs/commit/?id=5d183fd9535d80e5066647e0501da881bcac4d58'/>
<id>urn:sha1:5d183fd9535d80e5066647e0501da881bcac4d58</id>
<content type='text'>
- Interpret `ISignatureVerificationService` response properly (by
  following security layer spec [1] and moaspss handbook [2]).
- Add config flag `moa.spss.is-manifest-check-active`
- Change SignatureVerifier Interface: Remove @return boolean, just
  throw an exception when a validation error occurs. Reason: In case
  the signature cannot be validated, the application always needs the
  reason for the validation error, which requires the verifier to
  throw an exception. In turn, the only valid return value for
  `verify()` becomes `true`, which can be omitted at that point.
- Add testcase for verifying a valid enveloped xml signature
- Remove Certificates that are not needed.

[1] https://www.buergerkarte.at/konzept/securitylayer/spezifikation/20140114/core/core.html
[2] https://apps.egiz.gv.at/handbooks/moa-spss/handbook/handbook/usage/usage.html
</content>
</entry>
<entry>
<title>Fix moa-sig-lib's Integration Issues</title>
<updated>2019-06-13T08:10:22+00:00</updated>
<author>
<name>Christof Rabensteiner</name>
<email>christof.rabensteiner@iaik.tugraz.at</email>
</author>
<published>2019-06-13T08:10:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.egiz.gv.at/moa-zs/commit/?id=62601fb50b606f812933f746f126dda0b8139911'/>
<id>urn:sha1:62601fb50b606f812933f746f126dda0b8139911</id>
<content type='text'>
Fixing "ASN.1 creation error: iaik.asn1.CodingException: Length: Too
large ASN.1 object: 109"
- Set fallback value ('jks') for system property
  'javax.net.ssl.keyStoreType' and 'javax.net.ssl.trustStoreType'. If
  system property is not defined, MoaSigConfig falls back to value
  from spring environment. Reason: Without this property explicitly
  set to JKS, the inclusion of eaaf-components-moa-sig-lib breaks the
  HTTP client builder and the ASN.1 creation error arises. See [1] for
  explanation.
- Why fall back: Allows a user to configure these parameters via
  command line, but gives meaningful defaults in case of absent
  command line properties. Furthermore, these parameters can be configured via
  application.yaml or .properties.

Others:
- Set fallback value for system property
  'moa.spss.server.configuration'. If system property is not defined,
  fall back to value from spring environment. Reason: Allows a user to
  configure these parameters via command line while providing
  meaningful defaults in case of absent command line properties.
- Add switch 'moa.spss.is-active' to enable / disable signature verification.
- Change log levels of at.gv.* and iaik.* packages to INFO
- Add default certstore (copied from EAAF Components).
- Add mzs root certificate to cert- and truststore.
- Update readme's installation requirements and guide.

Refactor:
- Extract public interface of SignatureVerification class.
- Rename trustprofile folder.

[1] Why eaaf-components-moa-sig-lib breaks HTTP client:
- Including eaaf-components-moa-sig-lib includes IAIK's jca/jce and
  xsect, which in turn injects the iaik provider for cryptographic
  operations and its own key store (iaik.pkcs.pkcs12.PKCS12KeyStore).
- The Apache HTTP client builder will ask for a
  java.base/javax.net.ssl.SSLSocketFactory because it creates an SSL
  context, even if the connection runs without SSL.
- Somewhere down the stack, this will trigger the TrustStoreManager to
  hand over the systems default trust store (a JKS file) to IAIK's
  PKCS12KeyStore. This happens if the type properties of the trust
  stores are not set.
- Oracle relaxed a precondition of this trust store (somewhere in
  between Java 8 and 11) in the TrustStoreManager: Formerly, the trust
  store was a JKS object. Now, the trust store can be both a JKS and a
  PKCS12 object. The TrustStoreManager expects the key store to handle
  both types, and Oracle's keystore does. However, IAIK's key store
  cannot handle a JKS object, but since eaaf-components-moa-sig-lib
  was included, the IAIK key store comes first.
- PKCS12KeyStore expects a PKCS12 file but receives a JKS file -&gt;
  Parser Error.
</content>
</entry>
<entry>
<title>Integrate MoaSig Verification into SignatureVerifier</title>
<updated>2019-05-29T11:30:03+00:00</updated>
<author>
<name>Christof Rabensteiner</name>
<email>christof.rabensteiner@iaik.tugraz.at</email>
</author>
<published>2019-05-29T07:49:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.egiz.gv.at/moa-zs/commit/?id=e165ef27812874bee7062a4e7ecc8bec99ced328'/>
<id>urn:sha1:e165ef27812874bee7062a4e7ecc8bec99ced328</id>
<content type='text'>
- Verify signature via ISignatureVerificationService.
- Override System Property moa.spss.server.configuration via spring's
  environment (Reason: can configure path to moa SPSS config file via
  application.yaml &amp; moa SPSS needs this parameter to find the config
  file)
- Setup test configuration directory for moaspss in
  src/main/resources/moa-spss
- Readme: Explain how to install moaspss' dependencies into local
  repository.
</content>
</entry>
</feed>
