Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate dates and default issuance range #199

Closed
kevgliss opened this issue Jan 1, 2016 · 0 comments
Closed

Validate dates and default issuance range #199

kevgliss opened this issue Jan 1, 2016 · 0 comments

Comments

@kevgliss
Copy link
Contributor

kevgliss commented Jan 1, 2016

We need to to a better job at handling not_before and not_after attributes.

self.reqparse.add_argument('validityStart', type=str, location='json') # TODO validate

We should not only validate that they are proper dates, we should create and set values for:

MAX_CERTIFICATE_LENGTH=2
DEFAULT_ISSUEANCE_LENGTH=2

Values will be in years.

@kevgliss kevgliss added this to the 0.3.x milestone Apr 18, 2016
kevgliss added a commit to kevgliss/lemur that referenced this issue May 1, 2016
kevgliss added a commit that referenced this issue May 5, 2016
* Closes #278  and #199, Starting transition to marshmallow
@kevgliss kevgliss closed this as completed May 5, 2016
kevgliss added a commit to kevgliss/lemur that referenced this issue May 5, 2016
nezdolik pushed a commit to spotify/lemur that referenced this issue Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant