danielmarschall / oidplus

OIDplus 2.0 - An OpenSource online Registration Authority for OIDs and other Object Types
https://www.oidplus.com
Apache License 2.0
10 stars 6 forks source link

oid-info.com Comparison does not work? #37

Closed danielmarschall closed 7 months ago

danielmarschall commented 7 months ago

"Compare Export"

image

Is this wrong? Shouldn't there stand "Root OID x.x.x"?

Also... are there only roots shown which are verified, or which are verified AND existing locally? When a fresh system is installed, nothing is there, and users might not know that they need to create a RA first.

danielmarschall commented 7 months ago

Is it possible that it does not work, because the systems did not yet report their roots?

image

danielmarschall commented 7 months ago

There is already a TODO comment:

// TODO: If roots were created or deleted recently, we must do a re-query of the registration, so that the "roots" information at the directory service gets refreshed

danielmarschall commented 7 months ago

It should be fixed now. It was a problem on ViaThinkSoft serverside.

$root_oids = explode(";", $row['root_oids']);

changed to

$root_oids = empty($row['root_oids']) ? [] : explode(";", $row['root_oids']);

When the array is empty, OIDplus explains the following, which would have solved my confusion

In order to use this feature, you need to have at least one (root) OID added in your system, and the system needs to report the newly added root to the directory service (the reporting interval is 1 hour).