mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
two CSR sanity-checking todo items
This commit is contained in:
parent
4a62ac88d5
commit
2845c8f1f5
1 changed files with 4 additions and 0 deletions
|
|
@ -252,6 +252,10 @@ class session(object):
|
|||
self.die(r, r.BadRequest, uri="https://ca.example.com/failures/priorrequest")
|
||||
return
|
||||
# Process the request.
|
||||
# TODO: check that each element of the CA/B Forum Baseline
|
||||
# Requirements is enforced here or elsewhere.
|
||||
# TODO: check that the request involves a public key algorithm
|
||||
# that we support.
|
||||
if not all([safe("recipient", recipient), safe("csr", csr)]):
|
||||
self.die(r, r.BadRequest, uri="https://ca.example.com/failures/illegalcharacter")
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue