You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This data is only found in the replacementOrders table:
CREATETABLE `replacementOrders` (
`id`bigint(20) NOT NULL AUTO_INCREMENT,
`serial`varchar(255) NOT NULL,
`orderID`bigint(20) NOT NULL,
`orderExpires` datetime NOT NULL,
`replaced`boolean DEFAULT false,
PRIMARY KEY (`id`),
KEY `serial_idx` (`serial`),
KEY `orderID_idx` (`orderID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
PARTITION BY RANGE(id)
(PARTITION p_start VALUES LESS THAN (MAXVALUE));
Proposal
Add a new admin command that compares a given incident table with the orderReplacements table. I'm not entirely sure of the best form that this should take, but these are some ideas:
A revocation command which will revoke certificates impacted by a given incident that have already been replaced.
An information command which will tell the operator what percentage of certificates impacted by a given incident have already been replaced.
Alternative
Modify the schema of the incident tables to include a replaced bool and update this at Finalize time. Obvious downside here is a whole additional query is added to our Finalize workflow.
The text was updated successfully, but these errors were encountered:
beautifulentropy
changed the title
Admin: Close the final loop for replacement tracking in an incident
admin: Close the final loop for replacement tracking in an incident
May 27, 2024
beautifulentropy
changed the title
admin: Close the final loop for replacement tracking in an incident
admin: Replacement tracking for incidents
May 27, 2024
A revocation command which will revoke certificates impacted by a given incident that have already been replaced.
I think this would most elegantly be a -replaced-only flag which can be passed to the incident table revoke command, like admin revoke-cert -incident-table=Foo -replaced-only.
Problem
In #7298 we added replacement tracking using ARI when a new Order is placed. However, the
incident_*
tables themselves don't track replacements:This data is only found in the
replacementOrders
table:Proposal
Add a new admin command that compares a given incident table with the orderReplacements table. I'm not entirely sure of the best form that this should take, but these are some ideas:
Alternative
Modify the schema of the incident tables to include a
replaced
bool and update this at Finalize time. Obvious downside here is a whole additional query is added to our Finalize workflow.The text was updated successfully, but these errors were encountered: