dns3l / dns3l-core

Core functionality of dns3l written in Go
1 stars 3 forks source link

Number of certs for an authorized user #65

Open iaean opened 1 year ago

iaean commented 1 year ago

We implemented https://github.com/dns3l/dns3l-core/issues/42. Now there is the issue that the set delivered to the user via /ca/${id}/crt can be lower than the totals in /ca.

{ "id": "le",
  "totalValid": 1,
  "totalIssued": 1 }

We need to check if we wanna provide the number of certs visible for the user keeping in mind that /ca is also a public path. The issue is mostly UX related.

lnobach commented 10 months ago

totalValid and totalIssued return the total number of certs the CA, not only the number of certs of a CA a particular user can see. Currently, there is no way to obtain the latter number directly over the API.