Icinga / icingaweb2-module-x509

Keeps track of certificates as they are deployed in a network environment.
https://icinga.com/docs/x509/latest/
GNU General Public License v2.0
105 stars 23 forks source link

Pad `IP`s before passing them to `gmp_import()` #196

Closed yhabteab closed 10 months ago

yhabteab commented 11 months ago

gmp_import() expects the padded binary version of an IP address, but since we apply the IP behavior on the target->ip when fetching from the database, it is transformed into a human-readable address and passed to the gmp_import() function as is. This causes Job::isAddrInside() to always return false for an IP and thus certificates are never rescanned.