scolby33 / OCSPdash

A dashboard for the status of the top certificate authorities' OCSP responders.
MIT License
1 stars 0 forks source link

Manager.get_top_authorities doesn't always return n authorities #3

Closed scolby33 closed 7 years ago

scolby33 commented 7 years ago

If there are fewer Authoritys in the db than are requested by a call to Manager.get_top_authorities then fewer are returned than were requested. Should new ones be found to always return exactly n Authoritys, should an error be raised if this happens, or should it just be ignored?

@cthoyt thoughts?

cthoyt commented 7 years ago

I would say if there are fewer than n authorities, just return what you can

scolby33 commented 7 years ago

That certainly seems the easiest approach. I'll just document it that way.