Repository navigation
admin-revoker tool - #223
Conversation
There was a problem hiding this comment.
This causes a double-commit, because we commit on line 201.
I generally don't like processing Rollback or Commit in sub-methods; I think it's clearer if the err objects propagate upward and happen at the same level as the transaction is opened.
|
I'm generally good with this. I noted above my general preference in transaction management, but I don't think it's hurting anything -- the DB is smart enough. |
|
I agree that |
|
Should be somewhat cleaner now. |
|
Whoops |
IE does not support the syntax of trailing commas in objects. Resolves: letsencrypt#222
Fixes #198.
Currently provides two ways to revoke certificates, either directly by the hex serial or by associated registration ID. It also provides a subcommand to list revocation reason codes and their short names since I kept forgetting what they meant. I followed @jcjones OCSP-Signer lead and added a
NewDbMapfunction to theSAto simplify the creation of thedbMapobject.It might also make sense to add a command to revoke all certificates by the cert public key fingerprint, but this would require us to add a fingerprint field to the
core.Certificateobject. I may do this tomorrow but it's 1 AM at the moment so now I'm going to bed!