ministero-salute / it-dgc-gateway-client

EU Digital COVID Certificate Gateway Client is part of the national backends and periodically downloads the public keys that are distributed through the DGCG.
GNU Affero General Public License v3.0
6 stars 2 forks source link

[BUG] Resource not closed in CertificateSignatureVerifier #17

Open matteobaccan opened 3 years ago

matteobaccan commented 3 years ago

Describe the bug

CertificateSignatureVerifier dont close an handle to jksTrustPath

To Reproduce

call initAnchoPublicKey

Expected behaviour

The introduce of try resource

Additional context

I have already fixed the problem with a pull request