ModioAB / caramel

Caramel is a CA Registry Manager
GNU Affero General Public License v3.0
16 stars 5 forks source link

Tooling clean out #47

Closed Spindel closed 6 years ago

Spindel commented 6 years ago

This uses a brute force slowish approach by iterating over CSR id and then dropping all but the last valid Certificate for each csr.

It can be more efficiently done inside the database, except that the memory used might cause a slight headache on SQLite. Running the single query version took several minutes on SQLite with 150k certificates give or take.